#ed42ff Color
Color Codes | |
---|---|
Hex Code | #ed42ff |
RGB Code | rgb(237, 66, 255) |
HSL Code | hsl(294, 100%, 63%) |
#ed42ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 66, 255); }
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(294, 100%, 63%); }
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 #ed42ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 66, 255, 10%) | #ed42ff1a | |
rgb(237, 66, 255, 20%) | #ed42ff33 | |
rgb(237, 66, 255, 40%) | #ed42ff4C | |
rgb(237, 66, 255, 60%) | #ed42ff99 | |
rgb(237, 66, 255, 80%) | #ed42ffCC | |
rgb(237, 66, 255, 100%) | #ed42ffFF |
Saturated and desaturated colors of #ed42ff
HSL Code | Preview |
---|---|
hsl(294, 10%, 63%) | |
hsl(294, 20%, 63%) | |
hsl(294, 40%, 63%) | |
hsl(294, 60%, 63%) | |
hsl(294, 80%, 63%) | |
hsl(294, 100%, 63%) |
#ed42ff Color Usage In CSS
body { color: #ed42ff; } p { color: rgb(237, 66, 255); } header { border-bottom:1px solid #ed42ff; }