#a458c3 Color
Color Codes | |
---|---|
Hex Code | #a458c3 |
RGB Code | rgb(164, 88, 195) |
HSL Code | hsl(283, 47%, 55%) |
#a458c3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(164, 88, 195); }
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(283, 47%, 55%); }
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 #a458c3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(164, 88, 195, 10%) | #a458c31a | |
rgb(164, 88, 195, 20%) | #a458c333 | |
rgb(164, 88, 195, 40%) | #a458c34C | |
rgb(164, 88, 195, 60%) | #a458c399 | |
rgb(164, 88, 195, 80%) | #a458c3CC | |
rgb(164, 88, 195, 100%) | #a458c3FF |
Saturated and desaturated colors of #a458c3
HSL Code | Preview |
---|---|
hsl(283, 10%, 55%) | |
hsl(283, 20%, 55%) | |
hsl(283, 40%, 55%) | |
hsl(283, 60%, 55%) | |
hsl(283, 80%, 55%) | |
hsl(283, 100%, 55%) |
#a458c3 Color Usage In CSS
body { color: #a458c3; } p { color: rgb(164, 88, 195); } header { border-bottom:1px solid #a458c3; }