#bd9e2b Color
Color Codes | |
---|---|
Hex Code | #bd9e2b |
RGB Code | rgb(189, 158, 43) |
HSL Code | hsl(47, 63%, 45%) |
#bd9e2b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(189, 158, 43); }
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(47, 63%, 45%); }
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 #bd9e2b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(189, 158, 43, 10%) | #bd9e2b1a | |
rgb(189, 158, 43, 20%) | #bd9e2b33 | |
rgb(189, 158, 43, 40%) | #bd9e2b4C | |
rgb(189, 158, 43, 60%) | #bd9e2b99 | |
rgb(189, 158, 43, 80%) | #bd9e2bCC | |
rgb(189, 158, 43, 100%) | #bd9e2bFF |
Saturated and desaturated colors of #bd9e2b
HSL Code | Preview |
---|---|
hsl(47, 10%, 45%) | |
hsl(47, 20%, 45%) | |
hsl(47, 40%, 45%) | |
hsl(47, 60%, 45%) | |
hsl(47, 80%, 45%) | |
hsl(47, 100%, 45%) |
#bd9e2b Color Usage In CSS
body { color: #bd9e2b; } p { color: rgb(189, 158, 43); } header { border-bottom:1px solid #bd9e2b; }