#fe0098 Color
Color Codes | |
---|---|
Hex Code | #fe0098 |
RGB Code | rgb(254, 00, 152) |
HSL Code | hsl(324, 100%, 50%) |
#fe0098 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 00, 152); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(324, 100%, 50%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #fe0098
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 00, 152, 10%) | #fe00981a | |
rgb(254, 00, 152, 20%) | #fe009833 | |
rgb(254, 00, 152, 40%) | #fe00984C | |
rgb(254, 00, 152, 60%) | #fe009899 | |
rgb(254, 00, 152, 80%) | #fe0098CC | |
rgb(254, 00, 152, 100%) | #fe0098FF |
Saturated and desaturated colors of #fe0098
HSL Code | Preview |
---|---|
hsl(324, 10%, 50%) | |
hsl(324, 20%, 50%) | |
hsl(324, 40%, 50%) | |
hsl(324, 60%, 50%) | |
hsl(324, 80%, 50%) | |
hsl(324, 100%, 50%) |
#fe0098 Color Usage In CSS
body { color: #fe0098; } p { color: rgb(254, 00, 152); } header { border-bottom:1px solid #fe0098; }