#cc076c Color
Color Codes | |
---|---|
Hex Code | #cc076c |
RGB Code | rgb(204, 07, 108) |
HSL Code | hsl(329, 93%, 41%) |
#cc076c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 07, 108); }
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(329, 93%, 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 #cc076c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 07, 108, 10%) | #cc076c1a | |
rgb(204, 07, 108, 20%) | #cc076c33 | |
rgb(204, 07, 108, 40%) | #cc076c4C | |
rgb(204, 07, 108, 60%) | #cc076c99 | |
rgb(204, 07, 108, 80%) | #cc076cCC | |
rgb(204, 07, 108, 100%) | #cc076cFF |
Saturated and desaturated colors of #cc076c
HSL Code | Preview |
---|---|
hsl(329, 10%, 41%) | |
hsl(329, 20%, 41%) | |
hsl(329, 40%, 41%) | |
hsl(329, 60%, 41%) | |
hsl(329, 80%, 41%) | |
hsl(329, 100%, 41%) |
#cc076c Color Usage In CSS
body { color: #cc076c; } p { color: rgb(204, 07, 108); } header { border-bottom:1px solid #cc076c; }