#ce0285 Color
Color Codes | |
---|---|
Hex Code | #ce0285 |
RGB Code | rgb(206, 02, 133) |
HSL Code | hsl(321, 98%, 41%) |
#ce0285 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 02, 133); }
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(321, 98%, 41%); }
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 #ce0285
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 02, 133, 10%) | #ce02851a | |
rgb(206, 02, 133, 20%) | #ce028533 | |
rgb(206, 02, 133, 40%) | #ce02854C | |
rgb(206, 02, 133, 60%) | #ce028599 | |
rgb(206, 02, 133, 80%) | #ce0285CC | |
rgb(206, 02, 133, 100%) | #ce0285FF |
Saturated and desaturated colors of #ce0285
HSL Code | Preview |
---|---|
hsl(321, 10%, 41%) | |
hsl(321, 20%, 41%) | |
hsl(321, 40%, 41%) | |
hsl(321, 60%, 41%) | |
hsl(321, 80%, 41%) | |
hsl(321, 100%, 41%) |
#ce0285 Color Usage In CSS
body { color: #ce0285; } p { color: rgb(206, 02, 133); } header { border-bottom:1px solid #ce0285; }