#e0288f Color
Color Codes | |
---|---|
Hex Code | #e0288f |
RGB Code | rgb(224, 40, 143) |
HSL Code | hsl(326, 75%, 52%) |
#e0288f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(224, 40, 143); }
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(326, 75%, 52%); }
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 #e0288f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(224, 40, 143, 10%) | #e0288f1a | |
rgb(224, 40, 143, 20%) | #e0288f33 | |
rgb(224, 40, 143, 40%) | #e0288f4C | |
rgb(224, 40, 143, 60%) | #e0288f99 | |
rgb(224, 40, 143, 80%) | #e0288fCC | |
rgb(224, 40, 143, 100%) | #e0288fFF |
Saturated and desaturated colors of #e0288f
HSL Code | Preview |
---|---|
hsl(326, 10%, 52%) | |
hsl(326, 20%, 52%) | |
hsl(326, 40%, 52%) | |
hsl(326, 60%, 52%) | |
hsl(326, 80%, 52%) | |
hsl(326, 100%, 52%) |
#e0288f Color Usage In CSS
body { color: #e0288f; } p { color: rgb(224, 40, 143); } header { border-bottom:1px solid #e0288f; }