#a1731d Color
Color Codes | |
---|---|
Hex Code | #a1731d |
RGB Code | rgb(161, 115, 29) |
HSL Code | hsl(39, 69%, 37%) |
#a1731d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 115, 29); }
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%, 37%); }
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 #a1731d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 115, 29, 10%) | #a1731d1a | |
rgb(161, 115, 29, 20%) | #a1731d33 | |
rgb(161, 115, 29, 40%) | #a1731d4C | |
rgb(161, 115, 29, 60%) | #a1731d99 | |
rgb(161, 115, 29, 80%) | #a1731dCC | |
rgb(161, 115, 29, 100%) | #a1731dFF |
Saturated and desaturated colors of #a1731d
HSL Code | Preview |
---|---|
hsl(39, 10%, 37%) | |
hsl(39, 20%, 37%) | |
hsl(39, 40%, 37%) | |
hsl(39, 60%, 37%) | |
hsl(39, 80%, 37%) | |
hsl(39, 100%, 37%) |
#a1731d Color Usage In CSS
body { color: #a1731d; } p { color: rgb(161, 115, 29); } header { border-bottom:1px solid #a1731d; }