#a8898a Color
Color Codes | |
---|---|
Hex Code | #a8898a |
RGB Code | rgb(168, 137, 138) |
HSL Code | hsl(358, 15%, 60%) |
#a8898a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 137, 138); }
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(358, 15%, 60%); }
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 #a8898a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 137, 138, 10%) | #a8898a1a | |
rgb(168, 137, 138, 20%) | #a8898a33 | |
rgb(168, 137, 138, 40%) | #a8898a4C | |
rgb(168, 137, 138, 60%) | #a8898a99 | |
rgb(168, 137, 138, 80%) | #a8898aCC | |
rgb(168, 137, 138, 100%) | #a8898aFF |
Saturated and desaturated colors of #a8898a
HSL Code | Preview |
---|---|
hsl(358, 10%, 60%) | |
hsl(358, 20%, 60%) | |
hsl(358, 40%, 60%) | |
hsl(358, 60%, 60%) | |
hsl(358, 80%, 60%) | |
hsl(358, 100%, 60%) |
#a8898a Color Usage In CSS
body { color: #a8898a; } p { color: rgb(168, 137, 138); } header { border-bottom:1px solid #a8898a; }