#bba57a Color
Color Codes | |
---|---|
Hex Code | #bba57a |
RGB Code | rgb(187, 165, 122) |
HSL Code | hsl(40, 32%, 61%) |
#bba57a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(187, 165, 122); }
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(40, 32%, 61%); }
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 #bba57a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(187, 165, 122, 10%) | #bba57a1a | |
rgb(187, 165, 122, 20%) | #bba57a33 | |
rgb(187, 165, 122, 40%) | #bba57a4C | |
rgb(187, 165, 122, 60%) | #bba57a99 | |
rgb(187, 165, 122, 80%) | #bba57aCC | |
rgb(187, 165, 122, 100%) | #bba57aFF |
Saturated and desaturated colors of #bba57a
HSL Code | Preview |
---|---|
hsl(40, 10%, 61%) | |
hsl(40, 20%, 61%) | |
hsl(40, 40%, 61%) | |
hsl(40, 60%, 61%) | |
hsl(40, 80%, 61%) | |
hsl(40, 100%, 61%) |
#bba57a Color Usage In CSS
body { color: #bba57a; } p { color: rgb(187, 165, 122); } header { border-bottom:1px solid #bba57a; }