#aa2490 Color
Color Codes | |
---|---|
Hex Code | #aa2490 |
RGB Code | rgb(170, 36, 144) |
HSL Code | hsl(312, 65%, 40%) |
#aa2490 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 36, 144); }
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(312, 65%, 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 #aa2490
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 36, 144, 10%) | #aa24901a | |
rgb(170, 36, 144, 20%) | #aa249033 | |
rgb(170, 36, 144, 40%) | #aa24904C | |
rgb(170, 36, 144, 60%) | #aa249099 | |
rgb(170, 36, 144, 80%) | #aa2490CC | |
rgb(170, 36, 144, 100%) | #aa2490FF |
Saturated and desaturated colors of #aa2490
HSL Code | Preview |
---|---|
hsl(312, 10%, 40%) | |
hsl(312, 20%, 40%) | |
hsl(312, 40%, 40%) | |
hsl(312, 60%, 40%) | |
hsl(312, 80%, 40%) | |
hsl(312, 100%, 40%) |
#aa2490 Color Usage In CSS
body { color: #aa2490; } p { color: rgb(170, 36, 144); } header { border-bottom:1px solid #aa2490; }