#cc5853 Color
Color Codes | |
---|---|
Hex Code | #cc5853 |
RGB Code | rgb(204, 88, 83) |
HSL Code | hsl(2, 54%, 56%) |
#cc5853 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 88, 83); }
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(2, 54%, 56%); }
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 #cc5853
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 88, 83, 10%) | #cc58531a | |
rgb(204, 88, 83, 20%) | #cc585333 | |
rgb(204, 88, 83, 40%) | #cc58534C | |
rgb(204, 88, 83, 60%) | #cc585399 | |
rgb(204, 88, 83, 80%) | #cc5853CC | |
rgb(204, 88, 83, 100%) | #cc5853FF |
Saturated and desaturated colors of #cc5853
HSL Code | Preview |
---|---|
hsl(2, 10%, 56%) | |
hsl(2, 20%, 56%) | |
hsl(2, 40%, 56%) | |
hsl(2, 60%, 56%) | |
hsl(2, 80%, 56%) | |
hsl(2, 100%, 56%) |
#cc5853 Color Usage In CSS
body { color: #cc5853; } p { color: rgb(204, 88, 83); } header { border-bottom:1px solid #cc5853; }