#ec998d Color
Color Codes | |
---|---|
Hex Code | #ec998d |
RGB Code | rgb(236, 153, 141) |
HSL Code | hsl(8, 71%, 74%) |
#ec998d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 153, 141); }
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(8, 71%, 74%); }
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 #ec998d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 153, 141, 10%) | #ec998d1a | |
rgb(236, 153, 141, 20%) | #ec998d33 | |
rgb(236, 153, 141, 40%) | #ec998d4C | |
rgb(236, 153, 141, 60%) | #ec998d99 | |
rgb(236, 153, 141, 80%) | #ec998dCC | |
rgb(236, 153, 141, 100%) | #ec998dFF |
Saturated and desaturated colors of #ec998d
HSL Code | Preview |
---|---|
hsl(8, 10%, 74%) | |
hsl(8, 20%, 74%) | |
hsl(8, 40%, 74%) | |
hsl(8, 60%, 74%) | |
hsl(8, 80%, 74%) | |
hsl(8, 100%, 74%) |
#ec998d Color Usage In CSS
body { color: #ec998d; } p { color: rgb(236, 153, 141); } header { border-bottom:1px solid #ec998d; }