#e2796e Color
Color Codes | |
---|---|
Hex Code | #e2796e |
RGB Code | rgb(226, 121, 110) |
HSL Code | hsl(6, 67%, 66%) |
#e2796e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 121, 110); }
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(6, 67%, 66%); }
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 #e2796e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 121, 110, 10%) | #e2796e1a | |
rgb(226, 121, 110, 20%) | #e2796e33 | |
rgb(226, 121, 110, 40%) | #e2796e4C | |
rgb(226, 121, 110, 60%) | #e2796e99 | |
rgb(226, 121, 110, 80%) | #e2796eCC | |
rgb(226, 121, 110, 100%) | #e2796eFF |
Saturated and desaturated colors of #e2796e
HSL Code | Preview |
---|---|
hsl(6, 10%, 66%) | |
hsl(6, 20%, 66%) | |
hsl(6, 40%, 66%) | |
hsl(6, 60%, 66%) | |
hsl(6, 80%, 66%) | |
hsl(6, 100%, 66%) |
#e2796e Color Usage In CSS
body { color: #e2796e; } p { color: rgb(226, 121, 110); } header { border-bottom:1px solid #e2796e; }