#e757fe Color
Color Codes | |
---|---|
Hex Code | #e757fe |
RGB Code | rgb(231, 87, 254) |
HSL Code | hsl(292, 99%, 67%) |
#e757fe Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 87, 254); }
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(292, 99%, 67%); }
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 #e757fe
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 87, 254, 10%) | #e757fe1a | |
rgb(231, 87, 254, 20%) | #e757fe33 | |
rgb(231, 87, 254, 40%) | #e757fe4C | |
rgb(231, 87, 254, 60%) | #e757fe99 | |
rgb(231, 87, 254, 80%) | #e757feCC | |
rgb(231, 87, 254, 100%) | #e757feFF |
Saturated and desaturated colors of #e757fe
HSL Code | Preview |
---|---|
hsl(292, 10%, 67%) | |
hsl(292, 20%, 67%) | |
hsl(292, 40%, 67%) | |
hsl(292, 60%, 67%) | |
hsl(292, 80%, 67%) | |
hsl(292, 100%, 67%) |
#e757fe Color Usage In CSS
body { color: #e757fe; } p { color: rgb(231, 87, 254); } header { border-bottom:1px solid #e757fe; }