#aba52c Color
Color Codes | |
---|---|
Hex Code | #aba52c |
RGB Code | rgb(171, 165, 44) |
HSL Code | hsl(57, 59%, 42%) |
#aba52c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(171, 165, 44); }
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(57, 59%, 42%); }
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 #aba52c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(171, 165, 44, 10%) | #aba52c1a | |
rgb(171, 165, 44, 20%) | #aba52c33 | |
rgb(171, 165, 44, 40%) | #aba52c4C | |
rgb(171, 165, 44, 60%) | #aba52c99 | |
rgb(171, 165, 44, 80%) | #aba52cCC | |
rgb(171, 165, 44, 100%) | #aba52cFF |
Saturated and desaturated colors of #aba52c
HSL Code | Preview |
---|---|
hsl(57, 10%, 42%) | |
hsl(57, 20%, 42%) | |
hsl(57, 40%, 42%) | |
hsl(57, 60%, 42%) | |
hsl(57, 80%, 42%) | |
hsl(57, 100%, 42%) |
#aba52c Color Usage In CSS
body { color: #aba52c; } p { color: rgb(171, 165, 44); } header { border-bottom:1px solid #aba52c; }