#b9ba38 Color
Color Codes | |
---|---|
Hex Code | #b9ba38 |
RGB Code | rgb(185, 186, 56) |
HSL Code | hsl(60, 54%, 47%) |
#b9ba38 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 186, 56); }
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(60, 54%, 47%); }
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 #b9ba38
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 186, 56, 10%) | #b9ba381a | |
rgb(185, 186, 56, 20%) | #b9ba3833 | |
rgb(185, 186, 56, 40%) | #b9ba384C | |
rgb(185, 186, 56, 60%) | #b9ba3899 | |
rgb(185, 186, 56, 80%) | #b9ba38CC | |
rgb(185, 186, 56, 100%) | #b9ba38FF |
Saturated and desaturated colors of #b9ba38
HSL Code | Preview |
---|---|
hsl(60, 10%, 47%) | |
hsl(60, 20%, 47%) | |
hsl(60, 40%, 47%) | |
hsl(60, 60%, 47%) | |
hsl(60, 80%, 47%) | |
hsl(60, 100%, 47%) |
#b9ba38 Color Usage In CSS
body { color: #b9ba38; } p { color: rgb(185, 186, 56); } header { border-bottom:1px solid #b9ba38; }