#aa257b Color
Color Codes | |
---|---|
Hex Code | #aa257b |
RGB Code | rgb(170, 37, 123) |
HSL Code | hsl(321, 64%, 41%) |
#aa257b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 37, 123); }
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(321, 64%, 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 #aa257b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 37, 123, 10%) | #aa257b1a | |
rgb(170, 37, 123, 20%) | #aa257b33 | |
rgb(170, 37, 123, 40%) | #aa257b4C | |
rgb(170, 37, 123, 60%) | #aa257b99 | |
rgb(170, 37, 123, 80%) | #aa257bCC | |
rgb(170, 37, 123, 100%) | #aa257bFF |
Saturated and desaturated colors of #aa257b
HSL Code | Preview |
---|---|
hsl(321, 10%, 41%) | |
hsl(321, 20%, 41%) | |
hsl(321, 40%, 41%) | |
hsl(321, 60%, 41%) | |
hsl(321, 80%, 41%) | |
hsl(321, 100%, 41%) |
#aa257b Color Usage In CSS
body { color: #aa257b; } p { color: rgb(170, 37, 123); } header { border-bottom:1px solid #aa257b; }