#a8332b Color
Color Codes | |
---|---|
Hex Code | #a8332b |
RGB Code | rgb(168, 51, 43) |
HSL Code | hsl(4, 59%, 41%) |
#a8332b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 51, 43); }
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(4, 59%, 41%); }
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 #a8332b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 51, 43, 10%) | #a8332b1a | |
rgb(168, 51, 43, 20%) | #a8332b33 | |
rgb(168, 51, 43, 40%) | #a8332b4C | |
rgb(168, 51, 43, 60%) | #a8332b99 | |
rgb(168, 51, 43, 80%) | #a8332bCC | |
rgb(168, 51, 43, 100%) | #a8332bFF |
Saturated and desaturated colors of #a8332b
HSL Code | Preview |
---|---|
hsl(4, 10%, 41%) | |
hsl(4, 20%, 41%) | |
hsl(4, 40%, 41%) | |
hsl(4, 60%, 41%) | |
hsl(4, 80%, 41%) | |
hsl(4, 100%, 41%) |
#a8332b Color Usage In CSS
body { color: #a8332b; } p { color: rgb(168, 51, 43); } header { border-bottom:1px solid #a8332b; }