#a617e1 Color
Color Codes | |
---|---|
Hex Code | #a617e1 |
RGB Code | rgb(166, 23, 225) |
HSL Code | hsl(282, 81%, 49%) |
#a617e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 23, 225); }
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(282, 81%, 49%); }
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 #a617e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 23, 225, 10%) | #a617e11a | |
rgb(166, 23, 225, 20%) | #a617e133 | |
rgb(166, 23, 225, 40%) | #a617e14C | |
rgb(166, 23, 225, 60%) | #a617e199 | |
rgb(166, 23, 225, 80%) | #a617e1CC | |
rgb(166, 23, 225, 100%) | #a617e1FF |
Saturated and desaturated colors of #a617e1
HSL Code | Preview |
---|---|
hsl(282, 10%, 49%) | |
hsl(282, 20%, 49%) | |
hsl(282, 40%, 49%) | |
hsl(282, 60%, 49%) | |
hsl(282, 80%, 49%) | |
hsl(282, 100%, 49%) |
#a617e1 Color Usage In CSS
body { color: #a617e1; } p { color: rgb(166, 23, 225); } header { border-bottom:1px solid #a617e1; }