#ec2e80 Color
Color Codes | |
---|---|
Hex Code | #ec2e80 |
RGB Code | rgb(236, 46, 128) |
HSL Code | hsl(334, 83%, 55%) |
#ec2e80 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 46, 128); }
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(334, 83%, 55%); }
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 #ec2e80
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 46, 128, 10%) | #ec2e801a | |
rgb(236, 46, 128, 20%) | #ec2e8033 | |
rgb(236, 46, 128, 40%) | #ec2e804C | |
rgb(236, 46, 128, 60%) | #ec2e8099 | |
rgb(236, 46, 128, 80%) | #ec2e80CC | |
rgb(236, 46, 128, 100%) | #ec2e80FF |
Saturated and desaturated colors of #ec2e80
HSL Code | Preview |
---|---|
hsl(334, 10%, 55%) | |
hsl(334, 20%, 55%) | |
hsl(334, 40%, 55%) | |
hsl(334, 60%, 55%) | |
hsl(334, 80%, 55%) | |
hsl(334, 100%, 55%) |
#ec2e80 Color Usage In CSS
body { color: #ec2e80; } p { color: rgb(236, 46, 128); } header { border-bottom:1px solid #ec2e80; }