#ec929c Color
Color Codes | |
---|---|
Hex Code | #ec929c |
RGB Code | rgb(236, 146, 156) |
HSL Code | hsl(353, 70%, 75%) |
#ec929c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 146, 156); }
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(353, 70%, 75%); }
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 #ec929c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 146, 156, 10%) | #ec929c1a | |
rgb(236, 146, 156, 20%) | #ec929c33 | |
rgb(236, 146, 156, 40%) | #ec929c4C | |
rgb(236, 146, 156, 60%) | #ec929c99 | |
rgb(236, 146, 156, 80%) | #ec929cCC | |
rgb(236, 146, 156, 100%) | #ec929cFF |
Saturated and desaturated colors of #ec929c
HSL Code | Preview |
---|---|
hsl(353, 10%, 75%) | |
hsl(353, 20%, 75%) | |
hsl(353, 40%, 75%) | |
hsl(353, 60%, 75%) | |
hsl(353, 80%, 75%) | |
hsl(353, 100%, 75%) |
#ec929c Color Usage In CSS
body { color: #ec929c; } p { color: rgb(236, 146, 156); } header { border-bottom:1px solid #ec929c; }