#a971ad Color
Color Codes | |
---|---|
Hex Code | #a971ad |
RGB Code | rgb(169, 113, 173) |
HSL Code | hsl(296, 27%, 56%) |
#a971ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 113, 173); }
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(296, 27%, 56%); }
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 #a971ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 113, 173, 10%) | #a971ad1a | |
rgb(169, 113, 173, 20%) | #a971ad33 | |
rgb(169, 113, 173, 40%) | #a971ad4C | |
rgb(169, 113, 173, 60%) | #a971ad99 | |
rgb(169, 113, 173, 80%) | #a971adCC | |
rgb(169, 113, 173, 100%) | #a971adFF |
Saturated and desaturated colors of #a971ad
HSL Code | Preview |
---|---|
hsl(296, 10%, 56%) | |
hsl(296, 20%, 56%) | |
hsl(296, 40%, 56%) | |
hsl(296, 60%, 56%) | |
hsl(296, 80%, 56%) | |
hsl(296, 100%, 56%) |
#a971ad Color Usage In CSS
body { color: #a971ad; } p { color: rgb(169, 113, 173); } header { border-bottom:1px solid #a971ad; }