#a6a9be Color
Color Codes | |
---|---|
Hex Code | #a6a9be |
RGB Code | rgb(166, 169, 190) |
HSL Code | hsl(233, 16%, 70%) |
#a6a9be Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(166, 169, 190); }
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(233, 16%, 70%); }
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 #a6a9be
RGB Code | Hex Code | Preview |
---|---|---|
rgb(166, 169, 190, 10%) | #a6a9be1a | |
rgb(166, 169, 190, 20%) | #a6a9be33 | |
rgb(166, 169, 190, 40%) | #a6a9be4C | |
rgb(166, 169, 190, 60%) | #a6a9be99 | |
rgb(166, 169, 190, 80%) | #a6a9beCC | |
rgb(166, 169, 190, 100%) | #a6a9beFF |
Saturated and desaturated colors of #a6a9be
HSL Code | Preview |
---|---|
hsl(233, 10%, 70%) | |
hsl(233, 20%, 70%) | |
hsl(233, 40%, 70%) | |
hsl(233, 60%, 70%) | |
hsl(233, 80%, 70%) | |
hsl(233, 100%, 70%) |
#a6a9be Color Usage In CSS
body { color: #a6a9be; } p { color: rgb(166, 169, 190); } header { border-bottom:1px solid #a6a9be; }