#aa213b Color
Color Codes | |
---|---|
Hex Code | #aa213b |
RGB Code | rgb(170, 33, 59) |
HSL Code | hsl(349, 67%, 40%) |
#aa213b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 33, 59); }
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(349, 67%, 40%); }
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 #aa213b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 33, 59, 10%) | #aa213b1a | |
rgb(170, 33, 59, 20%) | #aa213b33 | |
rgb(170, 33, 59, 40%) | #aa213b4C | |
rgb(170, 33, 59, 60%) | #aa213b99 | |
rgb(170, 33, 59, 80%) | #aa213bCC | |
rgb(170, 33, 59, 100%) | #aa213bFF |
Saturated and desaturated colors of #aa213b
HSL Code | Preview |
---|---|
hsl(349, 10%, 40%) | |
hsl(349, 20%, 40%) | |
hsl(349, 40%, 40%) | |
hsl(349, 60%, 40%) | |
hsl(349, 80%, 40%) | |
hsl(349, 100%, 40%) |
#aa213b Color Usage In CSS
body { color: #aa213b; } p { color: rgb(170, 33, 59); } header { border-bottom:1px solid #aa213b; }