#cc0847 Color
Color Codes | |
---|---|
Hex Code | #cc0847 |
RGB Code | rgb(204, 08, 71) |
HSL Code | hsl(341, 92%, 42%) |
#cc0847 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 08, 71); }
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(341, 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 #cc0847
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 08, 71, 10%) | #cc08471a | |
rgb(204, 08, 71, 20%) | #cc084733 | |
rgb(204, 08, 71, 40%) | #cc08474C | |
rgb(204, 08, 71, 60%) | #cc084799 | |
rgb(204, 08, 71, 80%) | #cc0847CC | |
rgb(204, 08, 71, 100%) | #cc0847FF |
Saturated and desaturated colors of #cc0847
HSL Code | Preview |
---|---|
hsl(341, 10%, 42%) | |
hsl(341, 20%, 42%) | |
hsl(341, 40%, 42%) | |
hsl(341, 60%, 42%) | |
hsl(341, 80%, 42%) | |
hsl(341, 100%, 42%) |
#cc0847 Color Usage In CSS
body { color: #cc0847; } p { color: rgb(204, 08, 71); } header { border-bottom:1px solid #cc0847; }