#a565ec Color
Color Codes | |
---|---|
Hex Code | #a565ec |
RGB Code | rgb(165, 101, 236) |
HSL Code | hsl(268, 78%, 66%) |
#a565ec Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 101, 236); }
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(268, 78%, 66%); }
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 #a565ec
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 101, 236, 10%) | #a565ec1a | |
rgb(165, 101, 236, 20%) | #a565ec33 | |
rgb(165, 101, 236, 40%) | #a565ec4C | |
rgb(165, 101, 236, 60%) | #a565ec99 | |
rgb(165, 101, 236, 80%) | #a565ecCC | |
rgb(165, 101, 236, 100%) | #a565ecFF |
Saturated and desaturated colors of #a565ec
HSL Code | Preview |
---|---|
hsl(268, 10%, 66%) | |
hsl(268, 20%, 66%) | |
hsl(268, 40%, 66%) | |
hsl(268, 60%, 66%) | |
hsl(268, 80%, 66%) | |
hsl(268, 100%, 66%) |
#a565ec Color Usage In CSS
body { color: #a565ec; } p { color: rgb(165, 101, 236); } header { border-bottom:1px solid #a565ec; }