#a8baa6 Color
Color Codes | |
---|---|
Hex Code | #a8baa6 |
RGB Code | rgb(168, 186, 166) |
HSL Code | hsl(114, 13%, 69%) |
#a8baa6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 186, 166); }
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(114, 13%, 69%); }
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 #a8baa6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 186, 166, 10%) | #a8baa61a | |
rgb(168, 186, 166, 20%) | #a8baa633 | |
rgb(168, 186, 166, 40%) | #a8baa64C | |
rgb(168, 186, 166, 60%) | #a8baa699 | |
rgb(168, 186, 166, 80%) | #a8baa6CC | |
rgb(168, 186, 166, 100%) | #a8baa6FF |
Saturated and desaturated colors of #a8baa6
HSL Code | Preview |
---|---|
hsl(114, 10%, 69%) | |
hsl(114, 20%, 69%) | |
hsl(114, 40%, 69%) | |
hsl(114, 60%, 69%) | |
hsl(114, 80%, 69%) | |
hsl(114, 100%, 69%) |
#a8baa6 Color Usage In CSS
body { color: #a8baa6; } p { color: rgb(168, 186, 166); } header { border-bottom:1px solid #a8baa6; }