#ba9c49 Color
Color Codes | |
---|---|
Hex Code | #ba9c49 |
RGB Code | rgb(186, 156, 73) |
HSL Code | hsl(44, 45%, 51%) |
#ba9c49 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(186, 156, 73); }
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(44, 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 #ba9c49
RGB Code | Hex Code | Preview |
---|---|---|
rgb(186, 156, 73, 10%) | #ba9c491a | |
rgb(186, 156, 73, 20%) | #ba9c4933 | |
rgb(186, 156, 73, 40%) | #ba9c494C | |
rgb(186, 156, 73, 60%) | #ba9c4999 | |
rgb(186, 156, 73, 80%) | #ba9c49CC | |
rgb(186, 156, 73, 100%) | #ba9c49FF |
Saturated and desaturated colors of #ba9c49
HSL Code | Preview |
---|---|
hsl(44, 10%, 51%) | |
hsl(44, 20%, 51%) | |
hsl(44, 40%, 51%) | |
hsl(44, 60%, 51%) | |
hsl(44, 80%, 51%) | |
hsl(44, 100%, 51%) |
#ba9c49 Color Usage In CSS
body { color: #ba9c49; } p { color: rgb(186, 156, 73); } header { border-bottom:1px solid #ba9c49; }