#a49b28 Color
Color Codes | |
---|---|
Hex Code | #a49b28 |
RGB Code | rgb(164, 155, 40) |
HSL Code | hsl(56, 61%, 40%) |
#a49b28 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(164, 155, 40); }
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(56, 61%, 40%); }
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 #a49b28
RGB Code | Hex Code | Preview |
---|---|---|
rgb(164, 155, 40, 10%) | #a49b281a | |
rgb(164, 155, 40, 20%) | #a49b2833 | |
rgb(164, 155, 40, 40%) | #a49b284C | |
rgb(164, 155, 40, 60%) | #a49b2899 | |
rgb(164, 155, 40, 80%) | #a49b28CC | |
rgb(164, 155, 40, 100%) | #a49b28FF |
Saturated and desaturated colors of #a49b28
HSL Code | Preview |
---|---|
hsl(56, 10%, 40%) | |
hsl(56, 20%, 40%) | |
hsl(56, 40%, 40%) | |
hsl(56, 60%, 40%) | |
hsl(56, 80%, 40%) | |
hsl(56, 100%, 40%) |
#a49b28 Color Usage In CSS
body { color: #a49b28; } p { color: rgb(164, 155, 40); } header { border-bottom:1px solid #a49b28; }