#a6b2f9 Color
Color Codes | |
---|---|
Hex Code | #a6b2f9 |
RGB Code | rgb(166, 178, 249) |
HSL Code | hsl(231, 87%, 81%) |
#a6b2f9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 178, 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(231, 87%, 81%); }
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 #a6b2f9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 178, 249, 10%) | #a6b2f91a | |
rgb(166, 178, 249, 20%) | #a6b2f933 | |
rgb(166, 178, 249, 40%) | #a6b2f94C | |
rgb(166, 178, 249, 60%) | #a6b2f999 | |
rgb(166, 178, 249, 80%) | #a6b2f9CC | |
rgb(166, 178, 249, 100%) | #a6b2f9FF |
Saturated and desaturated colors of #a6b2f9
HSL Code | Preview |
---|---|
hsl(231, 10%, 81%) | |
hsl(231, 20%, 81%) | |
hsl(231, 40%, 81%) | |
hsl(231, 60%, 81%) | |
hsl(231, 80%, 81%) | |
hsl(231, 100%, 81%) |
#a6b2f9 Color Usage In CSS
body { color: #a6b2f9; } p { color: rgb(166, 178, 249); } header { border-bottom:1px solid #a6b2f9; }