#ec5ab1 Color
Color Codes | |
---|---|
Hex Code | #ec5ab1 |
RGB Code | rgb(236, 90, 177) |
HSL Code | hsl(324, 79%, 64%) |
#ec5ab1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 90, 177); }
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(324, 79%, 64%); }
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 #ec5ab1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 90, 177, 10%) | #ec5ab11a | |
rgb(236, 90, 177, 20%) | #ec5ab133 | |
rgb(236, 90, 177, 40%) | #ec5ab14C | |
rgb(236, 90, 177, 60%) | #ec5ab199 | |
rgb(236, 90, 177, 80%) | #ec5ab1CC | |
rgb(236, 90, 177, 100%) | #ec5ab1FF |
Saturated and desaturated colors of #ec5ab1
HSL Code | Preview |
---|---|
hsl(324, 10%, 64%) | |
hsl(324, 20%, 64%) | |
hsl(324, 40%, 64%) | |
hsl(324, 60%, 64%) | |
hsl(324, 80%, 64%) | |
hsl(324, 100%, 64%) |
#ec5ab1 Color Usage In CSS
body { color: #ec5ab1; } p { color: rgb(236, 90, 177); } header { border-bottom:1px solid #ec5ab1; }