#aa85b2 Color
Color Codes | |
---|---|
Hex Code | #aa85b2 |
RGB Code | rgb(170, 133, 178) |
HSL Code | hsl(289, 23%, 61%) |
#aa85b2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 133, 178); }
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(289, 23%, 61%); }
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 #aa85b2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 133, 178, 10%) | #aa85b21a | |
rgb(170, 133, 178, 20%) | #aa85b233 | |
rgb(170, 133, 178, 40%) | #aa85b24C | |
rgb(170, 133, 178, 60%) | #aa85b299 | |
rgb(170, 133, 178, 80%) | #aa85b2CC | |
rgb(170, 133, 178, 100%) | #aa85b2FF |
Saturated and desaturated colors of #aa85b2
HSL Code | Preview |
---|---|
hsl(289, 10%, 61%) | |
hsl(289, 20%, 61%) | |
hsl(289, 40%, 61%) | |
hsl(289, 60%, 61%) | |
hsl(289, 80%, 61%) | |
hsl(289, 100%, 61%) |
#aa85b2 Color Usage In CSS
body { color: #aa85b2; } p { color: rgb(170, 133, 178); } header { border-bottom:1px solid #aa85b2; }