#a93ae8 Color
Color Codes | |
---|---|
Hex Code | #a93ae8 |
RGB Code | rgb(169, 58, 232) |
HSL Code | hsl(278, 79%, 57%) |
#a93ae8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 58, 232); }
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(278, 79%, 57%); }
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 #a93ae8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 58, 232, 10%) | #a93ae81a | |
rgb(169, 58, 232, 20%) | #a93ae833 | |
rgb(169, 58, 232, 40%) | #a93ae84C | |
rgb(169, 58, 232, 60%) | #a93ae899 | |
rgb(169, 58, 232, 80%) | #a93ae8CC | |
rgb(169, 58, 232, 100%) | #a93ae8FF |
Saturated and desaturated colors of #a93ae8
HSL Code | Preview |
---|---|
hsl(278, 10%, 57%) | |
hsl(278, 20%, 57%) | |
hsl(278, 40%, 57%) | |
hsl(278, 60%, 57%) | |
hsl(278, 80%, 57%) | |
hsl(278, 100%, 57%) |
#a93ae8 Color Usage In CSS
body { color: #a93ae8; } p { color: rgb(169, 58, 232); } header { border-bottom:1px solid #a93ae8; }