#bf9a2e Color
Color Codes | |
---|---|
Hex Code | #bf9a2e |
RGB Code | rgb(191, 154, 46) |
HSL Code | hsl(45, 61%, 46%) |
#bf9a2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(191, 154, 46); }
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(45, 61%, 46%); }
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 #bf9a2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(191, 154, 46, 10%) | #bf9a2e1a | |
rgb(191, 154, 46, 20%) | #bf9a2e33 | |
rgb(191, 154, 46, 40%) | #bf9a2e4C | |
rgb(191, 154, 46, 60%) | #bf9a2e99 | |
rgb(191, 154, 46, 80%) | #bf9a2eCC | |
rgb(191, 154, 46, 100%) | #bf9a2eFF |
Saturated and desaturated colors of #bf9a2e
HSL Code | Preview |
---|---|
hsl(45, 10%, 46%) | |
hsl(45, 20%, 46%) | |
hsl(45, 40%, 46%) | |
hsl(45, 60%, 46%) | |
hsl(45, 80%, 46%) | |
hsl(45, 100%, 46%) |
#bf9a2e Color Usage In CSS
body { color: #bf9a2e; } p { color: rgb(191, 154, 46); } header { border-bottom:1px solid #bf9a2e; }