#ac7f82 Color
Color Codes | |
---|---|
Hex Code | #ac7f82 |
RGB Code | rgb(172, 127, 130) |
HSL Code | hsl(356, 21%, 59%) |
#ac7f82 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(172, 127, 130); }
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(356, 21%, 59%); }
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 #ac7f82
RGB Code | Hex Code | Preview |
---|---|---|
rgb(172, 127, 130, 10%) | #ac7f821a | |
rgb(172, 127, 130, 20%) | #ac7f8233 | |
rgb(172, 127, 130, 40%) | #ac7f824C | |
rgb(172, 127, 130, 60%) | #ac7f8299 | |
rgb(172, 127, 130, 80%) | #ac7f82CC | |
rgb(172, 127, 130, 100%) | #ac7f82FF |
Saturated and desaturated colors of #ac7f82
HSL Code | Preview |
---|---|
hsl(356, 10%, 59%) | |
hsl(356, 20%, 59%) | |
hsl(356, 40%, 59%) | |
hsl(356, 60%, 59%) | |
hsl(356, 80%, 59%) | |
hsl(356, 100%, 59%) |
#ac7f82 Color Usage In CSS
body { color: #ac7f82; } p { color: rgb(172, 127, 130); } header { border-bottom:1px solid #ac7f82; }