#cc847c Color
Color Codes | |
---|---|
Hex Code | #cc847c |
RGB Code | rgb(204, 132, 124) |
HSL Code | hsl(6, 44%, 64%) |
#cc847c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 132, 124); }
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(6, 44%, 64%); }
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 #cc847c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 132, 124, 10%) | #cc847c1a | |
rgb(204, 132, 124, 20%) | #cc847c33 | |
rgb(204, 132, 124, 40%) | #cc847c4C | |
rgb(204, 132, 124, 60%) | #cc847c99 | |
rgb(204, 132, 124, 80%) | #cc847cCC | |
rgb(204, 132, 124, 100%) | #cc847cFF |
Saturated and desaturated colors of #cc847c
HSL Code | Preview |
---|---|
hsl(6, 10%, 64%) | |
hsl(6, 20%, 64%) | |
hsl(6, 40%, 64%) | |
hsl(6, 60%, 64%) | |
hsl(6, 80%, 64%) | |
hsl(6, 100%, 64%) |
#cc847c Color Usage In CSS
body { color: #cc847c; } p { color: rgb(204, 132, 124); } header { border-bottom:1px solid #cc847c; }