#ea10b8 Color
Color Codes | |
---|---|
Hex Code | #ea10b8 |
RGB Code | rgb(234, 16, 184) |
HSL Code | hsl(314, 87%, 49%) |
#ea10b8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 16, 184); }
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(314, 87%, 49%); }
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 #ea10b8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 16, 184, 10%) | #ea10b81a | |
rgb(234, 16, 184, 20%) | #ea10b833 | |
rgb(234, 16, 184, 40%) | #ea10b84C | |
rgb(234, 16, 184, 60%) | #ea10b899 | |
rgb(234, 16, 184, 80%) | #ea10b8CC | |
rgb(234, 16, 184, 100%) | #ea10b8FF |
Saturated and desaturated colors of #ea10b8
HSL Code | Preview |
---|---|
hsl(314, 10%, 49%) | |
hsl(314, 20%, 49%) | |
hsl(314, 40%, 49%) | |
hsl(314, 60%, 49%) | |
hsl(314, 80%, 49%) | |
hsl(314, 100%, 49%) |
#ea10b8 Color Usage In CSS
body { color: #ea10b8; } p { color: rgb(234, 16, 184); } header { border-bottom:1px solid #ea10b8; }