#a6b9fe Color
Color Codes | |
---|---|
Hex Code | #a6b9fe |
RGB Code | rgb(166, 185, 254) |
HSL Code | hsl(227, 98%, 82%) |
#a6b9fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 185, 254); }
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(227, 98%, 82%); }
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 #a6b9fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 185, 254, 10%) | #a6b9fe1a | |
rgb(166, 185, 254, 20%) | #a6b9fe33 | |
rgb(166, 185, 254, 40%) | #a6b9fe4C | |
rgb(166, 185, 254, 60%) | #a6b9fe99 | |
rgb(166, 185, 254, 80%) | #a6b9feCC | |
rgb(166, 185, 254, 100%) | #a6b9feFF |
Saturated and desaturated colors of #a6b9fe
HSL Code | Preview |
---|---|
hsl(227, 10%, 82%) | |
hsl(227, 20%, 82%) | |
hsl(227, 40%, 82%) | |
hsl(227, 60%, 82%) | |
hsl(227, 80%, 82%) | |
hsl(227, 100%, 82%) |
#a6b9fe Color Usage In CSS
body { color: #a6b9fe; } p { color: rgb(166, 185, 254); } header { border-bottom:1px solid #a6b9fe; }