#a86e8e Color
Color Codes | |
---|---|
Hex Code | #a86e8e |
RGB Code | rgb(168, 110, 142) |
HSL Code | hsl(327, 25%, 55%) |
#a86e8e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 110, 142); }
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(327, 25%, 55%); }
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 #a86e8e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 110, 142, 10%) | #a86e8e1a | |
rgb(168, 110, 142, 20%) | #a86e8e33 | |
rgb(168, 110, 142, 40%) | #a86e8e4C | |
rgb(168, 110, 142, 60%) | #a86e8e99 | |
rgb(168, 110, 142, 80%) | #a86e8eCC | |
rgb(168, 110, 142, 100%) | #a86e8eFF |
Saturated and desaturated colors of #a86e8e
HSL Code | Preview |
---|---|
hsl(327, 10%, 55%) | |
hsl(327, 20%, 55%) | |
hsl(327, 40%, 55%) | |
hsl(327, 60%, 55%) | |
hsl(327, 80%, 55%) | |
hsl(327, 100%, 55%) |
#a86e8e Color Usage In CSS
body { color: #a86e8e; } p { color: rgb(168, 110, 142); } header { border-bottom:1px solid #a86e8e; }