#ae7f9c Color
Color Codes | |
---|---|
Hex Code | #ae7f9c |
RGB Code | rgb(174, 127, 156) |
HSL Code | hsl(323, 22%, 59%) |
#ae7f9c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 127, 156); }
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(323, 22%, 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 #ae7f9c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 127, 156, 10%) | #ae7f9c1a | |
rgb(174, 127, 156, 20%) | #ae7f9c33 | |
rgb(174, 127, 156, 40%) | #ae7f9c4C | |
rgb(174, 127, 156, 60%) | #ae7f9c99 | |
rgb(174, 127, 156, 80%) | #ae7f9cCC | |
rgb(174, 127, 156, 100%) | #ae7f9cFF |
Saturated and desaturated colors of #ae7f9c
HSL Code | Preview |
---|---|
hsl(323, 10%, 59%) | |
hsl(323, 20%, 59%) | |
hsl(323, 40%, 59%) | |
hsl(323, 60%, 59%) | |
hsl(323, 80%, 59%) | |
hsl(323, 100%, 59%) |
#ae7f9c Color Usage In CSS
body { color: #ae7f9c; } p { color: rgb(174, 127, 156); } header { border-bottom:1px solid #ae7f9c; }