#e45592 Color
Color Codes | |
---|---|
Hex Code | #e45592 |
RGB Code | rgb(228, 85, 146) |
HSL Code | hsl(334, 73%, 61%) |
#e45592 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 85, 146); }
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(334, 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 #e45592
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 85, 146, 10%) | #e455921a | |
rgb(228, 85, 146, 20%) | #e4559233 | |
rgb(228, 85, 146, 40%) | #e455924C | |
rgb(228, 85, 146, 60%) | #e4559299 | |
rgb(228, 85, 146, 80%) | #e45592CC | |
rgb(228, 85, 146, 100%) | #e45592FF |
Saturated and desaturated colors of #e45592
HSL Code | Preview |
---|---|
hsl(334, 10%, 61%) | |
hsl(334, 20%, 61%) | |
hsl(334, 40%, 61%) | |
hsl(334, 60%, 61%) | |
hsl(334, 80%, 61%) | |
hsl(334, 100%, 61%) |
#e45592 Color Usage In CSS
body { color: #e45592; } p { color: rgb(228, 85, 146); } header { border-bottom:1px solid #e45592; }