#ea3371 Color
Color Codes | |
---|---|
Hex Code | #ea3371 |
RGB Code | rgb(234, 51, 113) |
HSL Code | hsl(340, 81%, 56%) |
#ea3371 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(234, 51, 113); }
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, 81%, 56%); }
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 #ea3371
RGB Code | Hex Code | Preview |
---|---|---|
rgb(234, 51, 113, 10%) | #ea33711a | |
rgb(234, 51, 113, 20%) | #ea337133 | |
rgb(234, 51, 113, 40%) | #ea33714C | |
rgb(234, 51, 113, 60%) | #ea337199 | |
rgb(234, 51, 113, 80%) | #ea3371CC | |
rgb(234, 51, 113, 100%) | #ea3371FF |
Saturated and desaturated colors of #ea3371
HSL Code | Preview |
---|---|
hsl(340, 10%, 56%) | |
hsl(340, 20%, 56%) | |
hsl(340, 40%, 56%) | |
hsl(340, 60%, 56%) | |
hsl(340, 80%, 56%) | |
hsl(340, 100%, 56%) |
#ea3371 Color Usage In CSS
body { color: #ea3371; } p { color: rgb(234, 51, 113); } header { border-bottom:1px solid #ea3371; }