#a15b22 Color
Color Codes | |
---|---|
Hex Code | #a15b22 |
RGB Code | rgb(161, 91, 34) |
HSL Code | hsl(27, 65%, 38%) |
#a15b22 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 91, 34); }
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(27, 65%, 38%); }
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 #a15b22
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 91, 34, 10%) | #a15b221a | |
rgb(161, 91, 34, 20%) | #a15b2233 | |
rgb(161, 91, 34, 40%) | #a15b224C | |
rgb(161, 91, 34, 60%) | #a15b2299 | |
rgb(161, 91, 34, 80%) | #a15b22CC | |
rgb(161, 91, 34, 100%) | #a15b22FF |
Saturated and desaturated colors of #a15b22
HSL Code | Preview |
---|---|
hsl(27, 10%, 38%) | |
hsl(27, 20%, 38%) | |
hsl(27, 40%, 38%) | |
hsl(27, 60%, 38%) | |
hsl(27, 80%, 38%) | |
hsl(27, 100%, 38%) |
#a15b22 Color Usage In CSS
body { color: #a15b22; } p { color: rgb(161, 91, 34); } header { border-bottom:1px solid #a15b22; }