#e2838b Color
Color Codes | |
---|---|
Hex Code | #e2838b |
RGB Code | rgb(226, 131, 139) |
HSL Code | hsl(355, 62%, 70%) |
#e2838b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 131, 139); }
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(355, 62%, 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 #e2838b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 131, 139, 10%) | #e2838b1a | |
rgb(226, 131, 139, 20%) | #e2838b33 | |
rgb(226, 131, 139, 40%) | #e2838b4C | |
rgb(226, 131, 139, 60%) | #e2838b99 | |
rgb(226, 131, 139, 80%) | #e2838bCC | |
rgb(226, 131, 139, 100%) | #e2838bFF |
Saturated and desaturated colors of #e2838b
HSL Code | Preview |
---|---|
hsl(355, 10%, 70%) | |
hsl(355, 20%, 70%) | |
hsl(355, 40%, 70%) | |
hsl(355, 60%, 70%) | |
hsl(355, 80%, 70%) | |
hsl(355, 100%, 70%) |
#e2838b Color Usage In CSS
body { color: #e2838b; } p { color: rgb(226, 131, 139); } header { border-bottom:1px solid #e2838b; }