#ea0ab5 Color
Color Codes | |
---|---|
Hex Code | #ea0ab5 |
RGB Code | rgb(234, 10, 181) |
HSL Code | hsl(314, 92%, 48%) |
#ea0ab5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 10, 181); }
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, 92%, 48%); }
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 #ea0ab5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 10, 181, 10%) | #ea0ab51a | |
rgb(234, 10, 181, 20%) | #ea0ab533 | |
rgb(234, 10, 181, 40%) | #ea0ab54C | |
rgb(234, 10, 181, 60%) | #ea0ab599 | |
rgb(234, 10, 181, 80%) | #ea0ab5CC | |
rgb(234, 10, 181, 100%) | #ea0ab5FF |
Saturated and desaturated colors of #ea0ab5
HSL Code | Preview |
---|---|
hsl(314, 10%, 48%) | |
hsl(314, 20%, 48%) | |
hsl(314, 40%, 48%) | |
hsl(314, 60%, 48%) | |
hsl(314, 80%, 48%) | |
hsl(314, 100%, 48%) |
#ea0ab5 Color Usage In CSS
body { color: #ea0ab5; } p { color: rgb(234, 10, 181); } header { border-bottom:1px solid #ea0ab5; }