#a4aa66 Color
Color Codes | |
---|---|
Hex Code | #a4aa66 |
RGB Code | rgb(164, 170, 102) |
HSL Code | hsl(65, 29%, 53%) |
#a4aa66 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(164, 170, 102); }
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(65, 29%, 53%); }
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 #a4aa66
RGB Code | Hex Code | Preview |
---|---|---|
rgb(164, 170, 102, 10%) | #a4aa661a | |
rgb(164, 170, 102, 20%) | #a4aa6633 | |
rgb(164, 170, 102, 40%) | #a4aa664C | |
rgb(164, 170, 102, 60%) | #a4aa6699 | |
rgb(164, 170, 102, 80%) | #a4aa66CC | |
rgb(164, 170, 102, 100%) | #a4aa66FF |
Saturated and desaturated colors of #a4aa66
HSL Code | Preview |
---|---|
hsl(65, 10%, 53%) | |
hsl(65, 20%, 53%) | |
hsl(65, 40%, 53%) | |
hsl(65, 60%, 53%) | |
hsl(65, 80%, 53%) | |
hsl(65, 100%, 53%) |
#a4aa66 Color Usage In CSS
body { color: #a4aa66; } p { color: rgb(164, 170, 102); } header { border-bottom:1px solid #a4aa66; }