#7c6b48 Color
Color Codes | |
---|---|
Hex Code | #7c6b48 |
RGB Code | rgb(124, 107, 72) |
HSL Code | hsl(40, 27%, 38%) |
#7c6b48 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(124, 107, 72); }
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(40, 27%, 38%); }
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 #7c6b48
RGB Code | Hex Code | Preview |
---|---|---|
rgb(124, 107, 72, 10%) | #7c6b481a | |
rgb(124, 107, 72, 20%) | #7c6b4833 | |
rgb(124, 107, 72, 40%) | #7c6b484C | |
rgb(124, 107, 72, 60%) | #7c6b4899 | |
rgb(124, 107, 72, 80%) | #7c6b48CC | |
rgb(124, 107, 72, 100%) | #7c6b48FF |
Saturated and desaturated colors of #7c6b48
HSL Code | Preview |
---|---|
hsl(40, 10%, 38%) | |
hsl(40, 20%, 38%) | |
hsl(40, 40%, 38%) | |
hsl(40, 60%, 38%) | |
hsl(40, 80%, 38%) | |
hsl(40, 100%, 38%) |
#7c6b48 Color Usage In CSS
body { color: #7c6b48; } p { color: rgb(124, 107, 72); } header { border-bottom:1px solid #7c6b48; }