#a3aff2 Color
Color Codes | |
---|---|
Hex Code | #a3aff2 |
RGB Code | rgb(163, 175, 242) |
HSL Code | hsl(231, 75%, 79%) |
#a3aff2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(163, 175, 242); }
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, 75%, 79%); }
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 #a3aff2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(163, 175, 242, 10%) | #a3aff21a | |
rgb(163, 175, 242, 20%) | #a3aff233 | |
rgb(163, 175, 242, 40%) | #a3aff24C | |
rgb(163, 175, 242, 60%) | #a3aff299 | |
rgb(163, 175, 242, 80%) | #a3aff2CC | |
rgb(163, 175, 242, 100%) | #a3aff2FF |
Saturated and desaturated colors of #a3aff2
HSL Code | Preview |
---|---|
hsl(231, 10%, 79%) | |
hsl(231, 20%, 79%) | |
hsl(231, 40%, 79%) | |
hsl(231, 60%, 79%) | |
hsl(231, 80%, 79%) | |
hsl(231, 100%, 79%) |
#a3aff2 Color Usage In CSS
body { color: #a3aff2; } p { color: rgb(163, 175, 242); } header { border-bottom:1px solid #a3aff2; }