#aa98fc Color
Color Codes | |
---|---|
Hex Code | #aa98fc |
RGB Code | rgb(170, 152, 252) |
HSL Code | hsl(251, 94%, 79%) |
#aa98fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(170, 152, 252); }
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(251, 94%, 79%); }
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 #aa98fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(170, 152, 252, 10%) | #aa98fc1a | |
rgb(170, 152, 252, 20%) | #aa98fc33 | |
rgb(170, 152, 252, 40%) | #aa98fc4C | |
rgb(170, 152, 252, 60%) | #aa98fc99 | |
rgb(170, 152, 252, 80%) | #aa98fcCC | |
rgb(170, 152, 252, 100%) | #aa98fcFF |
Saturated and desaturated colors of #aa98fc
HSL Code | Preview |
---|---|
hsl(251, 10%, 79%) | |
hsl(251, 20%, 79%) | |
hsl(251, 40%, 79%) | |
hsl(251, 60%, 79%) | |
hsl(251, 80%, 79%) | |
hsl(251, 100%, 79%) |
#aa98fc Color Usage In CSS
body { color: #aa98fc; } p { color: rgb(170, 152, 252); } header { border-bottom:1px solid #aa98fc; }