#a573ea Color
Color Codes | |
---|---|
Hex Code | #a573ea |
RGB Code | rgb(165, 115, 234) |
HSL Code | hsl(265, 74%, 68%) |
#a573ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 115, 234); }
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(265, 74%, 68%); }
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 #a573ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 115, 234, 10%) | #a573ea1a | |
rgb(165, 115, 234, 20%) | #a573ea33 | |
rgb(165, 115, 234, 40%) | #a573ea4C | |
rgb(165, 115, 234, 60%) | #a573ea99 | |
rgb(165, 115, 234, 80%) | #a573eaCC | |
rgb(165, 115, 234, 100%) | #a573eaFF |
Saturated and desaturated colors of #a573ea
HSL Code | Preview |
---|---|
hsl(265, 10%, 68%) | |
hsl(265, 20%, 68%) | |
hsl(265, 40%, 68%) | |
hsl(265, 60%, 68%) | |
hsl(265, 80%, 68%) | |
hsl(265, 100%, 68%) |
#a573ea Color Usage In CSS
body { color: #a573ea; } p { color: rgb(165, 115, 234); } header { border-bottom:1px solid #a573ea; }