#a55ab4 Color
Color Codes | |
---|---|
Hex Code | #a55ab4 |
RGB Code | rgb(165, 90, 180) |
HSL Code | hsl(290, 38%, 53%) |
#a55ab4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(165, 90, 180); }
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(290, 38%, 53%); }
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 #a55ab4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(165, 90, 180, 10%) | #a55ab41a | |
rgb(165, 90, 180, 20%) | #a55ab433 | |
rgb(165, 90, 180, 40%) | #a55ab44C | |
rgb(165, 90, 180, 60%) | #a55ab499 | |
rgb(165, 90, 180, 80%) | #a55ab4CC | |
rgb(165, 90, 180, 100%) | #a55ab4FF |
Saturated and desaturated colors of #a55ab4
HSL Code | Preview |
---|---|
hsl(290, 10%, 53%) | |
hsl(290, 20%, 53%) | |
hsl(290, 40%, 53%) | |
hsl(290, 60%, 53%) | |
hsl(290, 80%, 53%) | |
hsl(290, 100%, 53%) |
#a55ab4 Color Usage In CSS
body { color: #a55ab4; } p { color: rgb(165, 90, 180); } header { border-bottom:1px solid #a55ab4; }