#baaa48 Color
Color Codes | |
---|---|
Hex Code | #baaa48 |
RGB Code | rgb(186, 170, 72) |
HSL Code | hsl(52, 45%, 51%) |
#baaa48 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 170, 72); }
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, 45%, 51%); }
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 #baaa48
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 170, 72, 10%) | #baaa481a | |
rgb(186, 170, 72, 20%) | #baaa4833 | |
rgb(186, 170, 72, 40%) | #baaa484C | |
rgb(186, 170, 72, 60%) | #baaa4899 | |
rgb(186, 170, 72, 80%) | #baaa48CC | |
rgb(186, 170, 72, 100%) | #baaa48FF |
Saturated and desaturated colors of #baaa48
HSL Code | Preview |
---|---|
hsl(52, 10%, 51%) | |
hsl(52, 20%, 51%) | |
hsl(52, 40%, 51%) | |
hsl(52, 60%, 51%) | |
hsl(52, 80%, 51%) | |
hsl(52, 100%, 51%) |
#baaa48 Color Usage In CSS
body { color: #baaa48; } p { color: rgb(186, 170, 72); } header { border-bottom:1px solid #baaa48; }