#ec1c53 Color
Color Codes | |
---|---|
Hex Code | #ec1c53 |
RGB Code | rgb(236, 28, 83) |
HSL Code | hsl(344, 85%, 52%) |
#ec1c53 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 28, 83); }
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(344, 85%, 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 #ec1c53
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 28, 83, 10%) | #ec1c531a | |
rgb(236, 28, 83, 20%) | #ec1c5333 | |
rgb(236, 28, 83, 40%) | #ec1c534C | |
rgb(236, 28, 83, 60%) | #ec1c5399 | |
rgb(236, 28, 83, 80%) | #ec1c53CC | |
rgb(236, 28, 83, 100%) | #ec1c53FF |
Saturated and desaturated colors of #ec1c53
HSL Code | Preview |
---|---|
hsl(344, 10%, 52%) | |
hsl(344, 20%, 52%) | |
hsl(344, 40%, 52%) | |
hsl(344, 60%, 52%) | |
hsl(344, 80%, 52%) | |
hsl(344, 100%, 52%) |
#ec1c53 Color Usage In CSS
body { color: #ec1c53; } p { color: rgb(236, 28, 83); } header { border-bottom:1px solid #ec1c53; }