#a1aff9 Color
Color Codes | |
---|---|
Hex Code | #a1aff9 |
RGB Code | rgb(161, 175, 249) |
HSL Code | hsl(230, 88%, 80%) |
#a1aff9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(161, 175, 249); }
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(230, 88%, 80%); }
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 #a1aff9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(161, 175, 249, 10%) | #a1aff91a | |
rgb(161, 175, 249, 20%) | #a1aff933 | |
rgb(161, 175, 249, 40%) | #a1aff94C | |
rgb(161, 175, 249, 60%) | #a1aff999 | |
rgb(161, 175, 249, 80%) | #a1aff9CC | |
rgb(161, 175, 249, 100%) | #a1aff9FF |
Saturated and desaturated colors of #a1aff9
HSL Code | Preview |
---|---|
hsl(230, 10%, 80%) | |
hsl(230, 20%, 80%) | |
hsl(230, 40%, 80%) | |
hsl(230, 60%, 80%) | |
hsl(230, 80%, 80%) | |
hsl(230, 100%, 80%) |
#a1aff9 Color Usage In CSS
body { color: #a1aff9; } p { color: rgb(161, 175, 249); } header { border-bottom:1px solid #a1aff9; }