#b9b060 Color
Color Codes | |
---|---|
Hex Code | #b9b060 |
RGB Code | rgb(185, 176, 96) |
HSL Code | hsl(54, 39%, 55%) |
#b9b060 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 176, 96); }
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(54, 39%, 55%); }
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 #b9b060
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 176, 96, 10%) | #b9b0601a | |
rgb(185, 176, 96, 20%) | #b9b06033 | |
rgb(185, 176, 96, 40%) | #b9b0604C | |
rgb(185, 176, 96, 60%) | #b9b06099 | |
rgb(185, 176, 96, 80%) | #b9b060CC | |
rgb(185, 176, 96, 100%) | #b9b060FF |
Saturated and desaturated colors of #b9b060
HSL Code | Preview |
---|---|
hsl(54, 10%, 55%) | |
hsl(54, 20%, 55%) | |
hsl(54, 40%, 55%) | |
hsl(54, 60%, 55%) | |
hsl(54, 80%, 55%) | |
hsl(54, 100%, 55%) |
#b9b060 Color Usage In CSS
body { color: #b9b060; } p { color: rgb(185, 176, 96); } header { border-bottom:1px solid #b9b060; }