#a575ed Color
Color Codes | |
---|---|
Hex Code | #a575ed |
RGB Code | rgb(165, 117, 237) |
HSL Code | hsl(264, 77%, 69%) |
#a575ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 117, 237); }
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(264, 77%, 69%); }
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 #a575ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 117, 237, 10%) | #a575ed1a | |
rgb(165, 117, 237, 20%) | #a575ed33 | |
rgb(165, 117, 237, 40%) | #a575ed4C | |
rgb(165, 117, 237, 60%) | #a575ed99 | |
rgb(165, 117, 237, 80%) | #a575edCC | |
rgb(165, 117, 237, 100%) | #a575edFF |
Saturated and desaturated colors of #a575ed
HSL Code | Preview |
---|---|
hsl(264, 10%, 69%) | |
hsl(264, 20%, 69%) | |
hsl(264, 40%, 69%) | |
hsl(264, 60%, 69%) | |
hsl(264, 80%, 69%) | |
hsl(264, 100%, 69%) |
#a575ed Color Usage In CSS
body { color: #a575ed; } p { color: rgb(165, 117, 237); } header { border-bottom:1px solid #a575ed; }