#ce39ea Color
Color Codes | |
---|---|
Hex Code | #ce39ea |
RGB Code | rgb(206, 57, 234) |
HSL Code | hsl(291, 81%, 57%) |
#ce39ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 57, 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(291, 81%, 57%); }
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 #ce39ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 57, 234, 10%) | #ce39ea1a | |
rgb(206, 57, 234, 20%) | #ce39ea33 | |
rgb(206, 57, 234, 40%) | #ce39ea4C | |
rgb(206, 57, 234, 60%) | #ce39ea99 | |
rgb(206, 57, 234, 80%) | #ce39eaCC | |
rgb(206, 57, 234, 100%) | #ce39eaFF |
Saturated and desaturated colors of #ce39ea
HSL Code | Preview |
---|---|
hsl(291, 10%, 57%) | |
hsl(291, 20%, 57%) | |
hsl(291, 40%, 57%) | |
hsl(291, 60%, 57%) | |
hsl(291, 80%, 57%) | |
hsl(291, 100%, 57%) |
#ce39ea Color Usage In CSS
body { color: #ce39ea; } p { color: rgb(206, 57, 234); } header { border-bottom:1px solid #ce39ea; }