#a1750d Color
Color Codes | |
---|---|
Hex Code | #a1750d |
RGB Code | rgb(161, 117, 13) |
HSL Code | hsl(42, 85%, 34%) |
#a1750d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 117, 13); }
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(42, 85%, 34%); }
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 #a1750d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 117, 13, 10%) | #a1750d1a | |
rgb(161, 117, 13, 20%) | #a1750d33 | |
rgb(161, 117, 13, 40%) | #a1750d4C | |
rgb(161, 117, 13, 60%) | #a1750d99 | |
rgb(161, 117, 13, 80%) | #a1750dCC | |
rgb(161, 117, 13, 100%) | #a1750dFF |
Saturated and desaturated colors of #a1750d
HSL Code | Preview |
---|---|
hsl(42, 10%, 34%) | |
hsl(42, 20%, 34%) | |
hsl(42, 40%, 34%) | |
hsl(42, 60%, 34%) | |
hsl(42, 80%, 34%) | |
hsl(42, 100%, 34%) |
#a1750d Color Usage In CSS
body { color: #a1750d; } p { color: rgb(161, 117, 13); } header { border-bottom:1px solid #a1750d; }