#ea5ea7 Color
Color Codes | |
---|---|
Hex Code | #ea5ea7 |
RGB Code | rgb(234, 94, 167) |
HSL Code | hsl(329, 77%, 64%) |
#ea5ea7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 94, 167); }
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(329, 77%, 64%); }
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 #ea5ea7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 94, 167, 10%) | #ea5ea71a | |
rgb(234, 94, 167, 20%) | #ea5ea733 | |
rgb(234, 94, 167, 40%) | #ea5ea74C | |
rgb(234, 94, 167, 60%) | #ea5ea799 | |
rgb(234, 94, 167, 80%) | #ea5ea7CC | |
rgb(234, 94, 167, 100%) | #ea5ea7FF |
Saturated and desaturated colors of #ea5ea7
HSL Code | Preview |
---|---|
hsl(329, 10%, 64%) | |
hsl(329, 20%, 64%) | |
hsl(329, 40%, 64%) | |
hsl(329, 60%, 64%) | |
hsl(329, 80%, 64%) | |
hsl(329, 100%, 64%) |
#ea5ea7 Color Usage In CSS
body { color: #ea5ea7; } p { color: rgb(234, 94, 167); } header { border-bottom:1px solid #ea5ea7; }