#a822ce Color
Color Codes | |
---|---|
Hex Code | #a822ce |
RGB Code | rgb(168, 34, 206) |
HSL Code | hsl(287, 72%, 47%) |
#a822ce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 34, 206); }
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(287, 72%, 47%); }
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 #a822ce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 34, 206, 10%) | #a822ce1a | |
rgb(168, 34, 206, 20%) | #a822ce33 | |
rgb(168, 34, 206, 40%) | #a822ce4C | |
rgb(168, 34, 206, 60%) | #a822ce99 | |
rgb(168, 34, 206, 80%) | #a822ceCC | |
rgb(168, 34, 206, 100%) | #a822ceFF |
Saturated and desaturated colors of #a822ce
HSL Code | Preview |
---|---|
hsl(287, 10%, 47%) | |
hsl(287, 20%, 47%) | |
hsl(287, 40%, 47%) | |
hsl(287, 60%, 47%) | |
hsl(287, 80%, 47%) | |
hsl(287, 100%, 47%) |
#a822ce Color Usage In CSS
body { color: #a822ce; } p { color: rgb(168, 34, 206); } header { border-bottom:1px solid #a822ce; }