#ea4589 Color
Color Codes | |
---|---|
Hex Code | #ea4589 |
RGB Code | rgb(234, 69, 137) |
HSL Code | hsl(335, 80%, 59%) |
#ea4589 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 69, 137); }
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, 80%, 59%); }
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 #ea4589
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 69, 137, 10%) | #ea45891a | |
rgb(234, 69, 137, 20%) | #ea458933 | |
rgb(234, 69, 137, 40%) | #ea45894C | |
rgb(234, 69, 137, 60%) | #ea458999 | |
rgb(234, 69, 137, 80%) | #ea4589CC | |
rgb(234, 69, 137, 100%) | #ea4589FF |
Saturated and desaturated colors of #ea4589
HSL Code | Preview |
---|---|
hsl(335, 10%, 59%) | |
hsl(335, 20%, 59%) | |
hsl(335, 40%, 59%) | |
hsl(335, 60%, 59%) | |
hsl(335, 80%, 59%) | |
hsl(335, 100%, 59%) |
#ea4589 Color Usage In CSS
body { color: #ea4589; } p { color: rgb(234, 69, 137); } header { border-bottom:1px solid #ea4589; }