#a8988c Color
Color Codes | |
---|---|
Hex Code | #a8988c |
RGB Code | rgb(168, 152, 140) |
HSL Code | hsl(26, 14%, 60%) |
#a8988c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 152, 140); }
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(26, 14%, 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 #a8988c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 152, 140, 10%) | #a8988c1a | |
rgb(168, 152, 140, 20%) | #a8988c33 | |
rgb(168, 152, 140, 40%) | #a8988c4C | |
rgb(168, 152, 140, 60%) | #a8988c99 | |
rgb(168, 152, 140, 80%) | #a8988cCC | |
rgb(168, 152, 140, 100%) | #a8988cFF |
Saturated and desaturated colors of #a8988c
HSL Code | Preview |
---|---|
hsl(26, 10%, 60%) | |
hsl(26, 20%, 60%) | |
hsl(26, 40%, 60%) | |
hsl(26, 60%, 60%) | |
hsl(26, 80%, 60%) | |
hsl(26, 100%, 60%) |
#a8988c Color Usage In CSS
body { color: #a8988c; } p { color: rgb(168, 152, 140); } header { border-bottom:1px solid #a8988c; }