#cc6211 Color
Color Codes | |
---|---|
Hex Code | #cc6211 |
RGB Code | rgb(204, 98, 17) |
HSL Code | hsl(26, 85%, 43%) |
#cc6211 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(204, 98, 17); }
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(26, 85%, 43%); }
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 #cc6211
RGB Code | Hex Code | Preview |
---|---|---|
rgb(204, 98, 17, 10%) | #cc62111a | |
rgb(204, 98, 17, 20%) | #cc621133 | |
rgb(204, 98, 17, 40%) | #cc62114C | |
rgb(204, 98, 17, 60%) | #cc621199 | |
rgb(204, 98, 17, 80%) | #cc6211CC | |
rgb(204, 98, 17, 100%) | #cc6211FF |
Saturated and desaturated colors of #cc6211
HSL Code | Preview |
---|---|
hsl(26, 10%, 43%) | |
hsl(26, 20%, 43%) | |
hsl(26, 40%, 43%) | |
hsl(26, 60%, 43%) | |
hsl(26, 80%, 43%) | |
hsl(26, 100%, 43%) |
#cc6211 Color Usage In CSS
body { color: #cc6211; } p { color: rgb(204, 98, 17); } header { border-bottom:1px solid #cc6211; }