#a2abde Color
Color Codes | |
---|---|
Hex Code | #a2abde |
RGB Code | rgb(162, 171, 222) |
HSL Code | hsl(231, 48%, 75%) |
#a2abde Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(162, 171, 222); }
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(231, 48%, 75%); }
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 #a2abde
RGB Code | Hex Code | Preview |
---|---|---|
rgb(162, 171, 222, 10%) | #a2abde1a | |
rgb(162, 171, 222, 20%) | #a2abde33 | |
rgb(162, 171, 222, 40%) | #a2abde4C | |
rgb(162, 171, 222, 60%) | #a2abde99 | |
rgb(162, 171, 222, 80%) | #a2abdeCC | |
rgb(162, 171, 222, 100%) | #a2abdeFF |
Saturated and desaturated colors of #a2abde
HSL Code | Preview |
---|---|
hsl(231, 10%, 75%) | |
hsl(231, 20%, 75%) | |
hsl(231, 40%, 75%) | |
hsl(231, 60%, 75%) | |
hsl(231, 80%, 75%) | |
hsl(231, 100%, 75%) |
#a2abde Color Usage In CSS
body { color: #a2abde; } p { color: rgb(162, 171, 222); } header { border-bottom:1px solid #a2abde; }