#ae77f5 Color
Color Codes | |
---|---|
Hex Code | #ae77f5 |
RGB Code | rgb(174, 119, 245) |
HSL Code | hsl(266, 86%, 71%) |
#ae77f5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 119, 245); }
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(266, 86%, 71%); }
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 #ae77f5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 119, 245, 10%) | #ae77f51a | |
rgb(174, 119, 245, 20%) | #ae77f533 | |
rgb(174, 119, 245, 40%) | #ae77f54C | |
rgb(174, 119, 245, 60%) | #ae77f599 | |
rgb(174, 119, 245, 80%) | #ae77f5CC | |
rgb(174, 119, 245, 100%) | #ae77f5FF |
Saturated and desaturated colors of #ae77f5
HSL Code | Preview |
---|---|
hsl(266, 10%, 71%) | |
hsl(266, 20%, 71%) | |
hsl(266, 40%, 71%) | |
hsl(266, 60%, 71%) | |
hsl(266, 80%, 71%) | |
hsl(266, 100%, 71%) |
#ae77f5 Color Usage In CSS
body { color: #ae77f5; } p { color: rgb(174, 119, 245); } header { border-bottom:1px solid #ae77f5; }