#ec947b Color
Color Codes | |
---|---|
Hex Code | #ec947b |
RGB Code | rgb(236, 148, 123) |
HSL Code | hsl(13, 75%, 70%) |
#ec947b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 148, 123); }
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(13, 75%, 70%); }
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 #ec947b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 148, 123, 10%) | #ec947b1a | |
rgb(236, 148, 123, 20%) | #ec947b33 | |
rgb(236, 148, 123, 40%) | #ec947b4C | |
rgb(236, 148, 123, 60%) | #ec947b99 | |
rgb(236, 148, 123, 80%) | #ec947bCC | |
rgb(236, 148, 123, 100%) | #ec947bFF |
Saturated and desaturated colors of #ec947b
HSL Code | Preview |
---|---|
hsl(13, 10%, 70%) | |
hsl(13, 20%, 70%) | |
hsl(13, 40%, 70%) | |
hsl(13, 60%, 70%) | |
hsl(13, 80%, 70%) | |
hsl(13, 100%, 70%) |
#ec947b Color Usage In CSS
body { color: #ec947b; } p { color: rgb(236, 148, 123); } header { border-bottom:1px solid #ec947b; }