#f21e90 Color
Color Codes | |
---|---|
Hex Code | #f21e90 |
RGB Code | rgb(242, 30, 144) |
HSL Code | hsl(328, 89%, 53%) |
#f21e90 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 30, 144); }
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(328, 89%, 53%); }
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 #f21e90
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 30, 144, 10%) | #f21e901a | |
rgb(242, 30, 144, 20%) | #f21e9033 | |
rgb(242, 30, 144, 40%) | #f21e904C | |
rgb(242, 30, 144, 60%) | #f21e9099 | |
rgb(242, 30, 144, 80%) | #f21e90CC | |
rgb(242, 30, 144, 100%) | #f21e90FF |
Saturated and desaturated colors of #f21e90
HSL Code | Preview |
---|---|
hsl(328, 10%, 53%) | |
hsl(328, 20%, 53%) | |
hsl(328, 40%, 53%) | |
hsl(328, 60%, 53%) | |
hsl(328, 80%, 53%) | |
hsl(328, 100%, 53%) |
#f21e90 Color Usage In CSS
body { color: #f21e90; } p { color: rgb(242, 30, 144); } header { border-bottom:1px solid #f21e90; }