#ad7e2c Color
Color Codes | |
---|---|
Hex Code | #ad7e2c |
RGB Code | rgb(173, 126, 44) |
HSL Code | hsl(38, 59%, 43%) |
#ad7e2c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 126, 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(38, 59%, 43%); }
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 #ad7e2c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 126, 44, 10%) | #ad7e2c1a | |
rgb(173, 126, 44, 20%) | #ad7e2c33 | |
rgb(173, 126, 44, 40%) | #ad7e2c4C | |
rgb(173, 126, 44, 60%) | #ad7e2c99 | |
rgb(173, 126, 44, 80%) | #ad7e2cCC | |
rgb(173, 126, 44, 100%) | #ad7e2cFF |
Saturated and desaturated colors of #ad7e2c
HSL Code | Preview |
---|---|
hsl(38, 10%, 43%) | |
hsl(38, 20%, 43%) | |
hsl(38, 40%, 43%) | |
hsl(38, 60%, 43%) | |
hsl(38, 80%, 43%) | |
hsl(38, 100%, 43%) |
#ad7e2c Color Usage In CSS
body { color: #ad7e2c; } p { color: rgb(173, 126, 44); } header { border-bottom:1px solid #ad7e2c; }