#ef579a Color
Color Codes | |
---|---|
Hex Code | #ef579a |
RGB Code | rgb(239, 87, 154) |
HSL Code | hsl(334, 83%, 64%) |
#ef579a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 87, 154); }
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, 83%, 64%); }
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 #ef579a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 87, 154, 10%) | #ef579a1a | |
rgb(239, 87, 154, 20%) | #ef579a33 | |
rgb(239, 87, 154, 40%) | #ef579a4C | |
rgb(239, 87, 154, 60%) | #ef579a99 | |
rgb(239, 87, 154, 80%) | #ef579aCC | |
rgb(239, 87, 154, 100%) | #ef579aFF |
Saturated and desaturated colors of #ef579a
HSL Code | Preview |
---|---|
hsl(334, 10%, 64%) | |
hsl(334, 20%, 64%) | |
hsl(334, 40%, 64%) | |
hsl(334, 60%, 64%) | |
hsl(334, 80%, 64%) | |
hsl(334, 100%, 64%) |
#ef579a Color Usage In CSS
body { color: #ef579a; } p { color: rgb(239, 87, 154); } header { border-bottom:1px solid #ef579a; }