#e2054f Color
Color Codes | |
---|---|
Hex Code | #e2054f |
RGB Code | rgb(226, 05, 79) |
HSL Code | hsl(340, 96%, 45%) |
#e2054f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 05, 79); }
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(340, 96%, 45%); }
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 #e2054f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 05, 79, 10%) | #e2054f1a | |
rgb(226, 05, 79, 20%) | #e2054f33 | |
rgb(226, 05, 79, 40%) | #e2054f4C | |
rgb(226, 05, 79, 60%) | #e2054f99 | |
rgb(226, 05, 79, 80%) | #e2054fCC | |
rgb(226, 05, 79, 100%) | #e2054fFF |
Saturated and desaturated colors of #e2054f
HSL Code | Preview |
---|---|
hsl(340, 10%, 45%) | |
hsl(340, 20%, 45%) | |
hsl(340, 40%, 45%) | |
hsl(340, 60%, 45%) | |
hsl(340, 80%, 45%) | |
hsl(340, 100%, 45%) |
#e2054f Color Usage In CSS
body { color: #e2054f; } p { color: rgb(226, 05, 79); } header { border-bottom:1px solid #e2054f; }