#cb5516 Color
Color Codes | |
---|---|
Hex Code | #cb5516 |
RGB Code | rgb(203, 85, 22) |
HSL Code | hsl(21, 80%, 44%) |
#cb5516 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 85, 22); }
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(21, 80%, 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 #cb5516
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 85, 22, 10%) | #cb55161a | |
rgb(203, 85, 22, 20%) | #cb551633 | |
rgb(203, 85, 22, 40%) | #cb55164C | |
rgb(203, 85, 22, 60%) | #cb551699 | |
rgb(203, 85, 22, 80%) | #cb5516CC | |
rgb(203, 85, 22, 100%) | #cb5516FF |
Saturated and desaturated colors of #cb5516
HSL Code | Preview |
---|---|
hsl(21, 10%, 44%) | |
hsl(21, 20%, 44%) | |
hsl(21, 40%, 44%) | |
hsl(21, 60%, 44%) | |
hsl(21, 80%, 44%) | |
hsl(21, 100%, 44%) |
#cb5516 Color Usage In CSS
body { color: #cb5516; } p { color: rgb(203, 85, 22); } header { border-bottom:1px solid #cb5516; }