#cf8d2b Color
Color Codes | |
---|---|
Hex Code | #cf8d2b |
RGB Code | rgb(207, 141, 43) |
HSL Code | hsl(36, 66%, 49%) |
#cf8d2b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 141, 43); }
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(36, 66%, 49%); }
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 #cf8d2b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 141, 43, 10%) | #cf8d2b1a | |
rgb(207, 141, 43, 20%) | #cf8d2b33 | |
rgb(207, 141, 43, 40%) | #cf8d2b4C | |
rgb(207, 141, 43, 60%) | #cf8d2b99 | |
rgb(207, 141, 43, 80%) | #cf8d2bCC | |
rgb(207, 141, 43, 100%) | #cf8d2bFF |
Saturated and desaturated colors of #cf8d2b
HSL Code | Preview |
---|---|
hsl(36, 10%, 49%) | |
hsl(36, 20%, 49%) | |
hsl(36, 40%, 49%) | |
hsl(36, 60%, 49%) | |
hsl(36, 80%, 49%) | |
hsl(36, 100%, 49%) |
#cf8d2b Color Usage In CSS
body { color: #cf8d2b; } p { color: rgb(207, 141, 43); } header { border-bottom:1px solid #cf8d2b; }