#ec2579 Color
Color Codes | |
---|---|
Hex Code | #ec2579 |
RGB Code | rgb(236, 37, 121) |
HSL Code | hsl(335, 84%, 54%) |
#ec2579 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 37, 121); }
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(335, 84%, 54%); }
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 #ec2579
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 37, 121, 10%) | #ec25791a | |
rgb(236, 37, 121, 20%) | #ec257933 | |
rgb(236, 37, 121, 40%) | #ec25794C | |
rgb(236, 37, 121, 60%) | #ec257999 | |
rgb(236, 37, 121, 80%) | #ec2579CC | |
rgb(236, 37, 121, 100%) | #ec2579FF |
Saturated and desaturated colors of #ec2579
HSL Code | Preview |
---|---|
hsl(335, 10%, 54%) | |
hsl(335, 20%, 54%) | |
hsl(335, 40%, 54%) | |
hsl(335, 60%, 54%) | |
hsl(335, 80%, 54%) | |
hsl(335, 100%, 54%) |
#ec2579 Color Usage In CSS
body { color: #ec2579; } p { color: rgb(236, 37, 121); } header { border-bottom:1px solid #ec2579; }