#ad7c20 Color
Color Codes | |
---|---|
Hex Code | #ad7c20 |
RGB Code | rgb(173, 124, 32) |
HSL Code | hsl(39, 69%, 40%) |
#ad7c20 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 124, 32); }
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, 69%, 40%); }
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 #ad7c20
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 124, 32, 10%) | #ad7c201a | |
rgb(173, 124, 32, 20%) | #ad7c2033 | |
rgb(173, 124, 32, 40%) | #ad7c204C | |
rgb(173, 124, 32, 60%) | #ad7c2099 | |
rgb(173, 124, 32, 80%) | #ad7c20CC | |
rgb(173, 124, 32, 100%) | #ad7c20FF |
Saturated and desaturated colors of #ad7c20
HSL Code | Preview |
---|---|
hsl(39, 10%, 40%) | |
hsl(39, 20%, 40%) | |
hsl(39, 40%, 40%) | |
hsl(39, 60%, 40%) | |
hsl(39, 80%, 40%) | |
hsl(39, 100%, 40%) |
#ad7c20 Color Usage In CSS
body { color: #ad7c20; } p { color: rgb(173, 124, 32); } header { border-bottom:1px solid #ad7c20; }