#ad7b4c Color
Color Codes | |
---|---|
Hex Code | #ad7b4c |
RGB Code | rgb(173, 123, 76) |
HSL Code | hsl(29, 39%, 49%) |
#ad7b4c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 123, 76); }
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(29, 39%, 49%); }
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 #ad7b4c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 123, 76, 10%) | #ad7b4c1a | |
rgb(173, 123, 76, 20%) | #ad7b4c33 | |
rgb(173, 123, 76, 40%) | #ad7b4c4C | |
rgb(173, 123, 76, 60%) | #ad7b4c99 | |
rgb(173, 123, 76, 80%) | #ad7b4cCC | |
rgb(173, 123, 76, 100%) | #ad7b4cFF |
Saturated and desaturated colors of #ad7b4c
HSL Code | Preview |
---|---|
hsl(29, 10%, 49%) | |
hsl(29, 20%, 49%) | |
hsl(29, 40%, 49%) | |
hsl(29, 60%, 49%) | |
hsl(29, 80%, 49%) | |
hsl(29, 100%, 49%) |
#ad7b4c Color Usage In CSS
body { color: #ad7b4c; } p { color: rgb(173, 123, 76); } header { border-bottom:1px solid #ad7b4c; }