#ad5b77 Color
Color Codes | |
---|---|
Hex Code | #ad5b77 |
RGB Code | rgb(173, 91, 119) |
HSL Code | hsl(340, 33%, 52%) |
#ad5b77 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 91, 119); }
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(340, 33%, 52%); }
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 #ad5b77
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 91, 119, 10%) | #ad5b771a | |
rgb(173, 91, 119, 20%) | #ad5b7733 | |
rgb(173, 91, 119, 40%) | #ad5b774C | |
rgb(173, 91, 119, 60%) | #ad5b7799 | |
rgb(173, 91, 119, 80%) | #ad5b77CC | |
rgb(173, 91, 119, 100%) | #ad5b77FF |
Saturated and desaturated colors of #ad5b77
HSL Code | Preview |
---|---|
hsl(340, 10%, 52%) | |
hsl(340, 20%, 52%) | |
hsl(340, 40%, 52%) | |
hsl(340, 60%, 52%) | |
hsl(340, 80%, 52%) | |
hsl(340, 100%, 52%) |
#ad5b77 Color Usage In CSS
body { color: #ad5b77; } p { color: rgb(173, 91, 119); } header { border-bottom:1px solid #ad5b77; }