#cf8c4d Color
Color Codes | |
---|---|
Hex Code | #cf8c4d |
RGB Code | rgb(207, 140, 77) |
HSL Code | hsl(29, 58%, 56%) |
#cf8c4d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 140, 77); }
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(29, 58%, 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 #cf8c4d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 140, 77, 10%) | #cf8c4d1a | |
rgb(207, 140, 77, 20%) | #cf8c4d33 | |
rgb(207, 140, 77, 40%) | #cf8c4d4C | |
rgb(207, 140, 77, 60%) | #cf8c4d99 | |
rgb(207, 140, 77, 80%) | #cf8c4dCC | |
rgb(207, 140, 77, 100%) | #cf8c4dFF |
Saturated and desaturated colors of #cf8c4d
HSL Code | Preview |
---|---|
hsl(29, 10%, 56%) | |
hsl(29, 20%, 56%) | |
hsl(29, 40%, 56%) | |
hsl(29, 60%, 56%) | |
hsl(29, 80%, 56%) | |
hsl(29, 100%, 56%) |
#cf8c4d Color Usage In CSS
body { color: #cf8c4d; } p { color: rgb(207, 140, 77); } header { border-bottom:1px solid #cf8c4d; }