#e42875 Color
Color Codes | |
---|---|
Hex Code | #e42875 |
RGB Code | rgb(228, 40, 117) |
HSL Code | hsl(335, 78%, 53%) |
#e42875 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 40, 117); }
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(335, 78%, 53%); }
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 #e42875
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 40, 117, 10%) | #e428751a | |
rgb(228, 40, 117, 20%) | #e4287533 | |
rgb(228, 40, 117, 40%) | #e428754C | |
rgb(228, 40, 117, 60%) | #e4287599 | |
rgb(228, 40, 117, 80%) | #e42875CC | |
rgb(228, 40, 117, 100%) | #e42875FF |
Saturated and desaturated colors of #e42875
HSL Code | Preview |
---|---|
hsl(335, 10%, 53%) | |
hsl(335, 20%, 53%) | |
hsl(335, 40%, 53%) | |
hsl(335, 60%, 53%) | |
hsl(335, 80%, 53%) | |
hsl(335, 100%, 53%) |
#e42875 Color Usage In CSS
body { color: #e42875; } p { color: rgb(228, 40, 117); } header { border-bottom:1px solid #e42875; }