#cf8b56 Color
Color Codes | |
---|---|
Hex Code | #cf8b56 |
RGB Code | rgb(207, 139, 86) |
HSL Code | hsl(26, 56%, 57%) |
#cf8b56 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(207, 139, 86); }
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, 56%, 57%); }
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 #cf8b56
RGB Code | Hex Code | Preview |
---|---|---|
rgb(207, 139, 86, 10%) | #cf8b561a | |
rgb(207, 139, 86, 20%) | #cf8b5633 | |
rgb(207, 139, 86, 40%) | #cf8b564C | |
rgb(207, 139, 86, 60%) | #cf8b5699 | |
rgb(207, 139, 86, 80%) | #cf8b56CC | |
rgb(207, 139, 86, 100%) | #cf8b56FF |
Saturated and desaturated colors of #cf8b56
HSL Code | Preview |
---|---|
hsl(26, 10%, 57%) | |
hsl(26, 20%, 57%) | |
hsl(26, 40%, 57%) | |
hsl(26, 60%, 57%) | |
hsl(26, 80%, 57%) | |
hsl(26, 100%, 57%) |
#cf8b56 Color Usage In CSS
body { color: #cf8b56; } p { color: rgb(207, 139, 86); } header { border-bottom:1px solid #cf8b56; }