#b9ab85 Color
Color Codes | |
---|---|
Hex Code | #b9ab85 |
RGB Code | rgb(185, 171, 133) |
HSL Code | hsl(44, 27%, 62%) |
#b9ab85 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 171, 133); }
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(44, 27%, 62%); }
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 #b9ab85
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 171, 133, 10%) | #b9ab851a | |
rgb(185, 171, 133, 20%) | #b9ab8533 | |
rgb(185, 171, 133, 40%) | #b9ab854C | |
rgb(185, 171, 133, 60%) | #b9ab8599 | |
rgb(185, 171, 133, 80%) | #b9ab85CC | |
rgb(185, 171, 133, 100%) | #b9ab85FF |
Saturated and desaturated colors of #b9ab85
HSL Code | Preview |
---|---|
hsl(44, 10%, 62%) | |
hsl(44, 20%, 62%) | |
hsl(44, 40%, 62%) | |
hsl(44, 60%, 62%) | |
hsl(44, 80%, 62%) | |
hsl(44, 100%, 62%) |
#b9ab85 Color Usage In CSS
body { color: #b9ab85; } p { color: rgb(185, 171, 133); } header { border-bottom:1px solid #b9ab85; }