#ce04a2 Color
Color Codes | |
---|---|
Hex Code | #ce04a2 |
RGB Code | rgb(206, 04, 162) |
HSL Code | hsl(313, 96%, 41%) |
#ce04a2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(206, 04, 162); }
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(313, 96%, 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 #ce04a2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(206, 04, 162, 10%) | #ce04a21a | |
rgb(206, 04, 162, 20%) | #ce04a233 | |
rgb(206, 04, 162, 40%) | #ce04a24C | |
rgb(206, 04, 162, 60%) | #ce04a299 | |
rgb(206, 04, 162, 80%) | #ce04a2CC | |
rgb(206, 04, 162, 100%) | #ce04a2FF |
Saturated and desaturated colors of #ce04a2
HSL Code | Preview |
---|---|
hsl(313, 10%, 41%) | |
hsl(313, 20%, 41%) | |
hsl(313, 40%, 41%) | |
hsl(313, 60%, 41%) | |
hsl(313, 80%, 41%) | |
hsl(313, 100%, 41%) |
#ce04a2 Color Usage In CSS
body { color: #ce04a2; } p { color: rgb(206, 04, 162); } header { border-bottom:1px solid #ce04a2; }