#e0225a Color
Color Codes | |
---|---|
Hex Code | #e0225a |
RGB Code | rgb(224, 34, 90) |
HSL Code | hsl(342, 75%, 51%) |
#e0225a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(224, 34, 90); }
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, 75%, 51%); }
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 #e0225a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(224, 34, 90, 10%) | #e0225a1a | |
rgb(224, 34, 90, 20%) | #e0225a33 | |
rgb(224, 34, 90, 40%) | #e0225a4C | |
rgb(224, 34, 90, 60%) | #e0225a99 | |
rgb(224, 34, 90, 80%) | #e0225aCC | |
rgb(224, 34, 90, 100%) | #e0225aFF |
Saturated and desaturated colors of #e0225a
HSL Code | Preview |
---|---|
hsl(342, 10%, 51%) | |
hsl(342, 20%, 51%) | |
hsl(342, 40%, 51%) | |
hsl(342, 60%, 51%) | |
hsl(342, 80%, 51%) | |
hsl(342, 100%, 51%) |
#e0225a Color Usage In CSS
body { color: #e0225a; } p { color: rgb(224, 34, 90); } header { border-bottom:1px solid #e0225a; }