#a860f6 Color
Color Codes | |
---|---|
Hex Code | #a860f6 |
RGB Code | rgb(168, 96, 246) |
HSL Code | hsl(269, 89%, 67%) |
#a860f6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 96, 246); }
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(269, 89%, 67%); }
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 #a860f6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 96, 246, 10%) | #a860f61a | |
rgb(168, 96, 246, 20%) | #a860f633 | |
rgb(168, 96, 246, 40%) | #a860f64C | |
rgb(168, 96, 246, 60%) | #a860f699 | |
rgb(168, 96, 246, 80%) | #a860f6CC | |
rgb(168, 96, 246, 100%) | #a860f6FF |
Saturated and desaturated colors of #a860f6
HSL Code | Preview |
---|---|
hsl(269, 10%, 67%) | |
hsl(269, 20%, 67%) | |
hsl(269, 40%, 67%) | |
hsl(269, 60%, 67%) | |
hsl(269, 80%, 67%) | |
hsl(269, 100%, 67%) |
#a860f6 Color Usage In CSS
body { color: #a860f6; } p { color: rgb(168, 96, 246); } header { border-bottom:1px solid #a860f6; }