#cc3312 Color
Color Codes | |
---|---|
Hex Code | #cc3312 |
RGB Code | rgb(204, 51, 18) |
HSL Code | hsl(11, 84%, 44%) |
#cc3312 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 51, 18); }
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(11, 84%, 44%); }
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 #cc3312
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 51, 18, 10%) | #cc33121a | |
rgb(204, 51, 18, 20%) | #cc331233 | |
rgb(204, 51, 18, 40%) | #cc33124C | |
rgb(204, 51, 18, 60%) | #cc331299 | |
rgb(204, 51, 18, 80%) | #cc3312CC | |
rgb(204, 51, 18, 100%) | #cc3312FF |
Saturated and desaturated colors of #cc3312
HSL Code | Preview |
---|---|
hsl(11, 10%, 44%) | |
hsl(11, 20%, 44%) | |
hsl(11, 40%, 44%) | |
hsl(11, 60%, 44%) | |
hsl(11, 80%, 44%) | |
hsl(11, 100%, 44%) |
#cc3312 Color Usage In CSS
body { color: #cc3312; } p { color: rgb(204, 51, 18); } header { border-bottom:1px solid #cc3312; }