#e031ff Color
Color Codes | |
---|---|
Hex Code | #e031ff |
RGB Code | rgb(224, 49, 255) |
HSL Code | hsl(291, 100%, 60%) |
#e031ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(224, 49, 255); }
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(291, 100%, 60%); }
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 #e031ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(224, 49, 255, 10%) | #e031ff1a | |
rgb(224, 49, 255, 20%) | #e031ff33 | |
rgb(224, 49, 255, 40%) | #e031ff4C | |
rgb(224, 49, 255, 60%) | #e031ff99 | |
rgb(224, 49, 255, 80%) | #e031ffCC | |
rgb(224, 49, 255, 100%) | #e031ffFF |
Saturated and desaturated colors of #e031ff
HSL Code | Preview |
---|---|
hsl(291, 10%, 60%) | |
hsl(291, 20%, 60%) | |
hsl(291, 40%, 60%) | |
hsl(291, 60%, 60%) | |
hsl(291, 80%, 60%) | |
hsl(291, 100%, 60%) |
#e031ff Color Usage In CSS
body { color: #e031ff; } p { color: rgb(224, 49, 255); } header { border-bottom:1px solid #e031ff; }