#e4517c Color
Color Codes | |
---|---|
Hex Code | #e4517c |
RGB Code | rgb(228, 81, 124) |
HSL Code | hsl(342, 73%, 61%) |
#e4517c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 81, 124); }
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(342, 73%, 61%); }
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 #e4517c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 81, 124, 10%) | #e4517c1a | |
rgb(228, 81, 124, 20%) | #e4517c33 | |
rgb(228, 81, 124, 40%) | #e4517c4C | |
rgb(228, 81, 124, 60%) | #e4517c99 | |
rgb(228, 81, 124, 80%) | #e4517cCC | |
rgb(228, 81, 124, 100%) | #e4517cFF |
Saturated and desaturated colors of #e4517c
HSL Code | Preview |
---|---|
hsl(342, 10%, 61%) | |
hsl(342, 20%, 61%) | |
hsl(342, 40%, 61%) | |
hsl(342, 60%, 61%) | |
hsl(342, 80%, 61%) | |
hsl(342, 100%, 61%) |
#e4517c Color Usage In CSS
body { color: #e4517c; } p { color: rgb(228, 81, 124); } header { border-bottom:1px solid #e4517c; }