#e124f4 Color
Color Codes | |
---|---|
Hex Code | #e124f4 |
RGB Code | rgb(225, 36, 244) |
HSL Code | hsl(295, 90%, 55%) |
#e124f4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(225, 36, 244); }
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(295, 90%, 55%); }
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 #e124f4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(225, 36, 244, 10%) | #e124f41a | |
rgb(225, 36, 244, 20%) | #e124f433 | |
rgb(225, 36, 244, 40%) | #e124f44C | |
rgb(225, 36, 244, 60%) | #e124f499 | |
rgb(225, 36, 244, 80%) | #e124f4CC | |
rgb(225, 36, 244, 100%) | #e124f4FF |
Saturated and desaturated colors of #e124f4
HSL Code | Preview |
---|---|
hsl(295, 10%, 55%) | |
hsl(295, 20%, 55%) | |
hsl(295, 40%, 55%) | |
hsl(295, 60%, 55%) | |
hsl(295, 80%, 55%) | |
hsl(295, 100%, 55%) |
#e124f4 Color Usage In CSS
body { color: #e124f4; } p { color: rgb(225, 36, 244); } header { border-bottom:1px solid #e124f4; }