#a97eac Color
Color Codes | |
---|---|
Hex Code | #a97eac |
RGB Code | rgb(169, 126, 172) |
HSL Code | hsl(296, 22%, 58%) |
#a97eac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(169, 126, 172); }
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(296, 22%, 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 #a97eac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(169, 126, 172, 10%) | #a97eac1a | |
rgb(169, 126, 172, 20%) | #a97eac33 | |
rgb(169, 126, 172, 40%) | #a97eac4C | |
rgb(169, 126, 172, 60%) | #a97eac99 | |
rgb(169, 126, 172, 80%) | #a97eacCC | |
rgb(169, 126, 172, 100%) | #a97eacFF |
Saturated and desaturated colors of #a97eac
HSL Code | Preview |
---|---|
hsl(296, 10%, 58%) | |
hsl(296, 20%, 58%) | |
hsl(296, 40%, 58%) | |
hsl(296, 60%, 58%) | |
hsl(296, 80%, 58%) | |
hsl(296, 100%, 58%) |
#a97eac Color Usage In CSS
body { color: #a97eac; } p { color: rgb(169, 126, 172); } header { border-bottom:1px solid #a97eac; }