#ce4ed2 Color
Color Codes | |
---|---|
Hex Code | #ce4ed2 |
RGB Code | rgb(206, 78, 210) |
HSL Code | hsl(298, 59%, 56%) |
#ce4ed2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 78, 210); }
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(298, 59%, 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 #ce4ed2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 78, 210, 10%) | #ce4ed21a | |
rgb(206, 78, 210, 20%) | #ce4ed233 | |
rgb(206, 78, 210, 40%) | #ce4ed24C | |
rgb(206, 78, 210, 60%) | #ce4ed299 | |
rgb(206, 78, 210, 80%) | #ce4ed2CC | |
rgb(206, 78, 210, 100%) | #ce4ed2FF |
Saturated and desaturated colors of #ce4ed2
HSL Code | Preview |
---|---|
hsl(298, 10%, 56%) | |
hsl(298, 20%, 56%) | |
hsl(298, 40%, 56%) | |
hsl(298, 60%, 56%) | |
hsl(298, 80%, 56%) | |
hsl(298, 100%, 56%) |
#ce4ed2 Color Usage In CSS
body { color: #ce4ed2; } p { color: rgb(206, 78, 210); } header { border-bottom:1px solid #ce4ed2; }