#a8b4a7 Color
Color Codes | |
---|---|
Hex Code | #a8b4a7 |
RGB Code | rgb(168, 180, 167) |
HSL Code | hsl(115, 8%, 68%) |
#a8b4a7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 180, 167); }
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(115, 8%, 68%); }
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 #a8b4a7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 180, 167, 10%) | #a8b4a71a | |
rgb(168, 180, 167, 20%) | #a8b4a733 | |
rgb(168, 180, 167, 40%) | #a8b4a74C | |
rgb(168, 180, 167, 60%) | #a8b4a799 | |
rgb(168, 180, 167, 80%) | #a8b4a7CC | |
rgb(168, 180, 167, 100%) | #a8b4a7FF |
Saturated and desaturated colors of #a8b4a7
HSL Code | Preview |
---|---|
hsl(115, 10%, 68%) | |
hsl(115, 20%, 68%) | |
hsl(115, 40%, 68%) | |
hsl(115, 60%, 68%) | |
hsl(115, 80%, 68%) | |
hsl(115, 100%, 68%) |
#a8b4a7 Color Usage In CSS
body { color: #a8b4a7; } p { color: rgb(168, 180, 167); } header { border-bottom:1px solid #a8b4a7; }