#e50762 Color
Color Codes | |
---|---|
Hex Code | #e50762 |
RGB Code | rgb(229, 07, 98) |
HSL Code | hsl(335, 94%, 46%) |
#e50762 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(229, 07, 98); }
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, 94%, 46%); }
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 #e50762
RGB Code | Hex Code | Preview |
---|---|---|
rgb(229, 07, 98, 10%) | #e507621a | |
rgb(229, 07, 98, 20%) | #e5076233 | |
rgb(229, 07, 98, 40%) | #e507624C | |
rgb(229, 07, 98, 60%) | #e5076299 | |
rgb(229, 07, 98, 80%) | #e50762CC | |
rgb(229, 07, 98, 100%) | #e50762FF |
Saturated and desaturated colors of #e50762
HSL Code | Preview |
---|---|
hsl(335, 10%, 46%) | |
hsl(335, 20%, 46%) | |
hsl(335, 40%, 46%) | |
hsl(335, 60%, 46%) | |
hsl(335, 80%, 46%) | |
hsl(335, 100%, 46%) |
#e50762 Color Usage In CSS
body { color: #e50762; } p { color: rgb(229, 07, 98); } header { border-bottom:1px solid #e50762; }