#9c6b07 Color
Color Codes | |
---|---|
Hex Code | #9c6b07 |
RGB Code | rgb(156, 107, 07) |
HSL Code | hsl(40, 91%, 32%) |
#9c6b07 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 107, 07); }
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, 91%, 32%); }
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 #9c6b07
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 107, 07, 10%) | #9c6b071a | |
rgb(156, 107, 07, 20%) | #9c6b0733 | |
rgb(156, 107, 07, 40%) | #9c6b074C | |
rgb(156, 107, 07, 60%) | #9c6b0799 | |
rgb(156, 107, 07, 80%) | #9c6b07CC | |
rgb(156, 107, 07, 100%) | #9c6b07FF |
Saturated and desaturated colors of #9c6b07
HSL Code | Preview |
---|---|
hsl(40, 10%, 32%) | |
hsl(40, 20%, 32%) | |
hsl(40, 40%, 32%) | |
hsl(40, 60%, 32%) | |
hsl(40, 80%, 32%) | |
hsl(40, 100%, 32%) |
#9c6b07 Color Usage In CSS
body { color: #9c6b07; } p { color: rgb(156, 107, 07); } header { border-bottom:1px solid #9c6b07; }