#9e8765 Color
Color Codes | |
---|---|
Hex Code | #9e8765 |
RGB Code | rgb(158, 135, 101) |
HSL Code | hsl(36, 23%, 51%) |
#9e8765 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 135, 101); }
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, 23%, 51%); }
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 #9e8765
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 135, 101, 10%) | #9e87651a | |
rgb(158, 135, 101, 20%) | #9e876533 | |
rgb(158, 135, 101, 40%) | #9e87654C | |
rgb(158, 135, 101, 60%) | #9e876599 | |
rgb(158, 135, 101, 80%) | #9e8765CC | |
rgb(158, 135, 101, 100%) | #9e8765FF |
Saturated and desaturated colors of #9e8765
HSL Code | Preview |
---|---|
hsl(36, 10%, 51%) | |
hsl(36, 20%, 51%) | |
hsl(36, 40%, 51%) | |
hsl(36, 60%, 51%) | |
hsl(36, 80%, 51%) | |
hsl(36, 100%, 51%) |
#9e8765 Color Usage In CSS
body { color: #9e8765; } p { color: rgb(158, 135, 101); } header { border-bottom:1px solid #9e8765; }