#ae04ae Color
Color Codes | |
---|---|
Hex Code | #ae04ae |
RGB Code | rgb(174, 04, 174) |
HSL Code | hsl(300, 96%, 35%) |
#ae04ae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(174, 04, 174); }
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(300, 96%, 35%); }
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 #ae04ae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(174, 04, 174, 10%) | #ae04ae1a | |
rgb(174, 04, 174, 20%) | #ae04ae33 | |
rgb(174, 04, 174, 40%) | #ae04ae4C | |
rgb(174, 04, 174, 60%) | #ae04ae99 | |
rgb(174, 04, 174, 80%) | #ae04aeCC | |
rgb(174, 04, 174, 100%) | #ae04aeFF |
Saturated and desaturated colors of #ae04ae
HSL Code | Preview |
---|---|
hsl(300, 10%, 35%) | |
hsl(300, 20%, 35%) | |
hsl(300, 40%, 35%) | |
hsl(300, 60%, 35%) | |
hsl(300, 80%, 35%) | |
hsl(300, 100%, 35%) |
#ae04ae Color Usage In CSS
body { color: #ae04ae; } p { color: rgb(174, 04, 174); } header { border-bottom:1px solid #ae04ae; }