#cc08a0 Color
Color Codes | |
---|---|
Hex Code | #cc08a0 |
RGB Code | rgb(204, 08, 160) |
HSL Code | hsl(313, 92%, 42%) |
#cc08a0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 08, 160); }
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, 92%, 42%); }
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 #cc08a0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 08, 160, 10%) | #cc08a01a | |
rgb(204, 08, 160, 20%) | #cc08a033 | |
rgb(204, 08, 160, 40%) | #cc08a04C | |
rgb(204, 08, 160, 60%) | #cc08a099 | |
rgb(204, 08, 160, 80%) | #cc08a0CC | |
rgb(204, 08, 160, 100%) | #cc08a0FF |
Saturated and desaturated colors of #cc08a0
HSL Code | Preview |
---|---|
hsl(313, 10%, 42%) | |
hsl(313, 20%, 42%) | |
hsl(313, 40%, 42%) | |
hsl(313, 60%, 42%) | |
hsl(313, 80%, 42%) | |
hsl(313, 100%, 42%) |
#cc08a0 Color Usage In CSS
body { color: #cc08a0; } p { color: rgb(204, 08, 160); } header { border-bottom:1px solid #cc08a0; }