#a67df1 Color
Color Codes | |
---|---|
Hex Code | #a67df1 |
RGB Code | rgb(166, 125, 241) |
HSL Code | hsl(261, 81%, 72%) |
#a67df1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 125, 241); }
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(261, 81%, 72%); }
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 #a67df1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 125, 241, 10%) | #a67df11a | |
rgb(166, 125, 241, 20%) | #a67df133 | |
rgb(166, 125, 241, 40%) | #a67df14C | |
rgb(166, 125, 241, 60%) | #a67df199 | |
rgb(166, 125, 241, 80%) | #a67df1CC | |
rgb(166, 125, 241, 100%) | #a67df1FF |
Saturated and desaturated colors of #a67df1
HSL Code | Preview |
---|---|
hsl(261, 10%, 72%) | |
hsl(261, 20%, 72%) | |
hsl(261, 40%, 72%) | |
hsl(261, 60%, 72%) | |
hsl(261, 80%, 72%) | |
hsl(261, 100%, 72%) |
#a67df1 Color Usage In CSS
body { color: #a67df1; } p { color: rgb(166, 125, 241); } header { border-bottom:1px solid #a67df1; }