#ce33ea Color
Color Codes | |
---|---|
Hex Code | #ce33ea |
RGB Code | rgb(206, 51, 234) |
HSL Code | hsl(291, 81%, 56%) |
#ce33ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 51, 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%, 56%); }
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 #ce33ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 51, 234, 10%) | #ce33ea1a | |
rgb(206, 51, 234, 20%) | #ce33ea33 | |
rgb(206, 51, 234, 40%) | #ce33ea4C | |
rgb(206, 51, 234, 60%) | #ce33ea99 | |
rgb(206, 51, 234, 80%) | #ce33eaCC | |
rgb(206, 51, 234, 100%) | #ce33eaFF |
Saturated and desaturated colors of #ce33ea
HSL Code | Preview |
---|---|
hsl(291, 10%, 56%) | |
hsl(291, 20%, 56%) | |
hsl(291, 40%, 56%) | |
hsl(291, 60%, 56%) | |
hsl(291, 80%, 56%) | |
hsl(291, 100%, 56%) |
#ce33ea Color Usage In CSS
body { color: #ce33ea; } p { color: rgb(206, 51, 234); } header { border-bottom:1px solid #ce33ea; }