#ad9b7a Color
Color Codes | |
---|---|
Hex Code | #ad9b7a |
RGB Code | rgb(173, 155, 122) |
HSL Code | hsl(39, 24%, 58%) |
#ad9b7a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 155, 122); }
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(39, 24%, 58%); }
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 #ad9b7a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 155, 122, 10%) | #ad9b7a1a | |
rgb(173, 155, 122, 20%) | #ad9b7a33 | |
rgb(173, 155, 122, 40%) | #ad9b7a4C | |
rgb(173, 155, 122, 60%) | #ad9b7a99 | |
rgb(173, 155, 122, 80%) | #ad9b7aCC | |
rgb(173, 155, 122, 100%) | #ad9b7aFF |
Saturated and desaturated colors of #ad9b7a
HSL Code | Preview |
---|---|
hsl(39, 10%, 58%) | |
hsl(39, 20%, 58%) | |
hsl(39, 40%, 58%) | |
hsl(39, 60%, 58%) | |
hsl(39, 80%, 58%) | |
hsl(39, 100%, 58%) |
#ad9b7a Color Usage In CSS
body { color: #ad9b7a; } p { color: rgb(173, 155, 122); } header { border-bottom:1px solid #ad9b7a; }