#a8828c Color
Color Codes | |
---|---|
Hex Code | #a8828c |
RGB Code | rgb(168, 130, 140) |
HSL Code | hsl(344, 18%, 58%) |
#a8828c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 130, 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(344, 18%, 58%); }
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 #a8828c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 130, 140, 10%) | #a8828c1a | |
rgb(168, 130, 140, 20%) | #a8828c33 | |
rgb(168, 130, 140, 40%) | #a8828c4C | |
rgb(168, 130, 140, 60%) | #a8828c99 | |
rgb(168, 130, 140, 80%) | #a8828cCC | |
rgb(168, 130, 140, 100%) | #a8828cFF |
Saturated and desaturated colors of #a8828c
HSL Code | Preview |
---|---|
hsl(344, 10%, 58%) | |
hsl(344, 20%, 58%) | |
hsl(344, 40%, 58%) | |
hsl(344, 60%, 58%) | |
hsl(344, 80%, 58%) | |
hsl(344, 100%, 58%) |
#a8828c Color Usage In CSS
body { color: #a8828c; } p { color: rgb(168, 130, 140); } header { border-bottom:1px solid #a8828c; }