#aa3b2f Color
Color Codes | |
---|---|
Hex Code | #aa3b2f |
RGB Code | rgb(170, 59, 47) |
HSL Code | hsl(6, 57%, 43%) |
#aa3b2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 59, 47); }
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(6, 57%, 43%); }
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 #aa3b2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 59, 47, 10%) | #aa3b2f1a | |
rgb(170, 59, 47, 20%) | #aa3b2f33 | |
rgb(170, 59, 47, 40%) | #aa3b2f4C | |
rgb(170, 59, 47, 60%) | #aa3b2f99 | |
rgb(170, 59, 47, 80%) | #aa3b2fCC | |
rgb(170, 59, 47, 100%) | #aa3b2fFF |
Saturated and desaturated colors of #aa3b2f
HSL Code | Preview |
---|---|
hsl(6, 10%, 43%) | |
hsl(6, 20%, 43%) | |
hsl(6, 40%, 43%) | |
hsl(6, 60%, 43%) | |
hsl(6, 80%, 43%) | |
hsl(6, 100%, 43%) |
#aa3b2f Color Usage In CSS
body { color: #aa3b2f; } p { color: rgb(170, 59, 47); } header { border-bottom:1px solid #aa3b2f; }