#ae1acb Color
Color Codes | |
---|---|
Hex Code | #ae1acb |
RGB Code | rgb(174, 26, 203) |
HSL Code | hsl(290, 77%, 45%) |
#ae1acb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 26, 203); }
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(290, 77%, 45%); }
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 #ae1acb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 26, 203, 10%) | #ae1acb1a | |
rgb(174, 26, 203, 20%) | #ae1acb33 | |
rgb(174, 26, 203, 40%) | #ae1acb4C | |
rgb(174, 26, 203, 60%) | #ae1acb99 | |
rgb(174, 26, 203, 80%) | #ae1acbCC | |
rgb(174, 26, 203, 100%) | #ae1acbFF |
Saturated and desaturated colors of #ae1acb
HSL Code | Preview |
---|---|
hsl(290, 10%, 45%) | |
hsl(290, 20%, 45%) | |
hsl(290, 40%, 45%) | |
hsl(290, 60%, 45%) | |
hsl(290, 80%, 45%) | |
hsl(290, 100%, 45%) |
#ae1acb Color Usage In CSS
body { color: #ae1acb; } p { color: rgb(174, 26, 203); } header { border-bottom:1px solid #ae1acb; }