#ea6ee2 Color
Color Codes | |
---|---|
Hex Code | #ea6ee2 |
RGB Code | rgb(234, 110, 226) |
HSL Code | hsl(304, 75%, 67%) |
#ea6ee2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 110, 226); }
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(304, 75%, 67%); }
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 #ea6ee2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 110, 226, 10%) | #ea6ee21a | |
rgb(234, 110, 226, 20%) | #ea6ee233 | |
rgb(234, 110, 226, 40%) | #ea6ee24C | |
rgb(234, 110, 226, 60%) | #ea6ee299 | |
rgb(234, 110, 226, 80%) | #ea6ee2CC | |
rgb(234, 110, 226, 100%) | #ea6ee2FF |
Saturated and desaturated colors of #ea6ee2
HSL Code | Preview |
---|---|
hsl(304, 10%, 67%) | |
hsl(304, 20%, 67%) | |
hsl(304, 40%, 67%) | |
hsl(304, 60%, 67%) | |
hsl(304, 80%, 67%) | |
hsl(304, 100%, 67%) |
#ea6ee2 Color Usage In CSS
body { color: #ea6ee2; } p { color: rgb(234, 110, 226); } header { border-bottom:1px solid #ea6ee2; }