#bba93a Color
Color Codes | |
---|---|
Hex Code | #bba93a |
RGB Code | rgb(187, 169, 58) |
HSL Code | hsl(52, 53%, 48%) |
#bba93a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 169, 58); }
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(52, 53%, 48%); }
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 #bba93a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 169, 58, 10%) | #bba93a1a | |
rgb(187, 169, 58, 20%) | #bba93a33 | |
rgb(187, 169, 58, 40%) | #bba93a4C | |
rgb(187, 169, 58, 60%) | #bba93a99 | |
rgb(187, 169, 58, 80%) | #bba93aCC | |
rgb(187, 169, 58, 100%) | #bba93aFF |
Saturated and desaturated colors of #bba93a
HSL Code | Preview |
---|---|
hsl(52, 10%, 48%) | |
hsl(52, 20%, 48%) | |
hsl(52, 40%, 48%) | |
hsl(52, 60%, 48%) | |
hsl(52, 80%, 48%) | |
hsl(52, 100%, 48%) |
#bba93a Color Usage In CSS
body { color: #bba93a; } p { color: rgb(187, 169, 58); } header { border-bottom:1px solid #bba93a; }