#e2978a Color
Color Codes | |
---|---|
Hex Code | #e2978a |
RGB Code | rgb(226, 151, 138) |
HSL Code | hsl(9, 60%, 71%) |
#e2978a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 151, 138); }
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(9, 60%, 71%); }
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 #e2978a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 151, 138, 10%) | #e2978a1a | |
rgb(226, 151, 138, 20%) | #e2978a33 | |
rgb(226, 151, 138, 40%) | #e2978a4C | |
rgb(226, 151, 138, 60%) | #e2978a99 | |
rgb(226, 151, 138, 80%) | #e2978aCC | |
rgb(226, 151, 138, 100%) | #e2978aFF |
Saturated and desaturated colors of #e2978a
HSL Code | Preview |
---|---|
hsl(9, 10%, 71%) | |
hsl(9, 20%, 71%) | |
hsl(9, 40%, 71%) | |
hsl(9, 60%, 71%) | |
hsl(9, 80%, 71%) | |
hsl(9, 100%, 71%) |
#e2978a Color Usage In CSS
body { color: #e2978a; } p { color: rgb(226, 151, 138); } header { border-bottom:1px solid #e2978a; }