#e78c89 Color
Color Codes | |
---|---|
Hex Code | #e78c89 |
RGB Code | rgb(231, 140, 137) |
HSL Code | hsl(2, 66%, 72%) |
#e78c89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(231, 140, 137); }
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(2, 66%, 72%); }
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 #e78c89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(231, 140, 137, 10%) | #e78c891a | |
rgb(231, 140, 137, 20%) | #e78c8933 | |
rgb(231, 140, 137, 40%) | #e78c894C | |
rgb(231, 140, 137, 60%) | #e78c8999 | |
rgb(231, 140, 137, 80%) | #e78c89CC | |
rgb(231, 140, 137, 100%) | #e78c89FF |
Saturated and desaturated colors of #e78c89
HSL Code | Preview |
---|---|
hsl(2, 10%, 72%) | |
hsl(2, 20%, 72%) | |
hsl(2, 40%, 72%) | |
hsl(2, 60%, 72%) | |
hsl(2, 80%, 72%) | |
hsl(2, 100%, 72%) |
#e78c89 Color Usage In CSS
body { color: #e78c89; } p { color: rgb(231, 140, 137); } header { border-bottom:1px solid #e78c89; }