#ed2dea Color
Color Codes | |
---|---|
Hex Code | #ed2dea |
RGB Code | rgb(237, 45, 234) |
HSL Code | hsl(301, 84%, 55%) |
#ed2dea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 45, 234); }
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(301, 84%, 55%); }
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 #ed2dea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 45, 234, 10%) | #ed2dea1a | |
rgb(237, 45, 234, 20%) | #ed2dea33 | |
rgb(237, 45, 234, 40%) | #ed2dea4C | |
rgb(237, 45, 234, 60%) | #ed2dea99 | |
rgb(237, 45, 234, 80%) | #ed2deaCC | |
rgb(237, 45, 234, 100%) | #ed2deaFF |
Saturated and desaturated colors of #ed2dea
HSL Code | Preview |
---|---|
hsl(301, 10%, 55%) | |
hsl(301, 20%, 55%) | |
hsl(301, 40%, 55%) | |
hsl(301, 60%, 55%) | |
hsl(301, 80%, 55%) | |
hsl(301, 100%, 55%) |
#ed2dea Color Usage In CSS
body { color: #ed2dea; } p { color: rgb(237, 45, 234); } header { border-bottom:1px solid #ed2dea; }