#b9af89 Color
Color Codes | |
---|---|
Hex Code | #b9af89 |
RGB Code | rgb(185, 175, 137) |
HSL Code | hsl(48, 26%, 63%) |
#b9af89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 175, 137); }
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(48, 26%, 63%); }
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 #b9af89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 175, 137, 10%) | #b9af891a | |
rgb(185, 175, 137, 20%) | #b9af8933 | |
rgb(185, 175, 137, 40%) | #b9af894C | |
rgb(185, 175, 137, 60%) | #b9af8999 | |
rgb(185, 175, 137, 80%) | #b9af89CC | |
rgb(185, 175, 137, 100%) | #b9af89FF |
Saturated and desaturated colors of #b9af89
HSL Code | Preview |
---|---|
hsl(48, 10%, 63%) | |
hsl(48, 20%, 63%) | |
hsl(48, 40%, 63%) | |
hsl(48, 60%, 63%) | |
hsl(48, 80%, 63%) | |
hsl(48, 100%, 63%) |
#b9af89 Color Usage In CSS
body { color: #b9af89; } p { color: rgb(185, 175, 137); } header { border-bottom:1px solid #b9af89; }