#aa3487 Color
Color Codes | |
---|---|
Hex Code | #aa3487 |
RGB Code | rgb(170, 52, 135) |
HSL Code | hsl(318, 53%, 44%) |
#aa3487 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 52, 135); }
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(318, 53%, 44%); }
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 #aa3487
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 52, 135, 10%) | #aa34871a | |
rgb(170, 52, 135, 20%) | #aa348733 | |
rgb(170, 52, 135, 40%) | #aa34874C | |
rgb(170, 52, 135, 60%) | #aa348799 | |
rgb(170, 52, 135, 80%) | #aa3487CC | |
rgb(170, 52, 135, 100%) | #aa3487FF |
Saturated and desaturated colors of #aa3487
HSL Code | Preview |
---|---|
hsl(318, 10%, 44%) | |
hsl(318, 20%, 44%) | |
hsl(318, 40%, 44%) | |
hsl(318, 60%, 44%) | |
hsl(318, 80%, 44%) | |
hsl(318, 100%, 44%) |
#aa3487 Color Usage In CSS
body { color: #aa3487; } p { color: rgb(170, 52, 135); } header { border-bottom:1px solid #aa3487; }