#a7a97c Color
Color Codes | |
---|---|
Hex Code | #a7a97c |
RGB Code | rgb(167, 169, 124) |
HSL Code | hsl(63, 21%, 57%) |
#a7a97c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(167, 169, 124); }
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(63, 21%, 57%); }
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 #a7a97c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(167, 169, 124, 10%) | #a7a97c1a | |
rgb(167, 169, 124, 20%) | #a7a97c33 | |
rgb(167, 169, 124, 40%) | #a7a97c4C | |
rgb(167, 169, 124, 60%) | #a7a97c99 | |
rgb(167, 169, 124, 80%) | #a7a97cCC | |
rgb(167, 169, 124, 100%) | #a7a97cFF |
Saturated and desaturated colors of #a7a97c
HSL Code | Preview |
---|---|
hsl(63, 10%, 57%) | |
hsl(63, 20%, 57%) | |
hsl(63, 40%, 57%) | |
hsl(63, 60%, 57%) | |
hsl(63, 80%, 57%) | |
hsl(63, 100%, 57%) |
#a7a97c Color Usage In CSS
body { color: #a7a97c; } p { color: rgb(167, 169, 124); } header { border-bottom:1px solid #a7a97c; }