#e56b8b Color
Color Codes | |
---|---|
Hex Code | #e56b8b |
RGB Code | rgb(229, 107, 139) |
HSL Code | hsl(344, 70%, 66%) |
#e56b8b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(229, 107, 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(344, 70%, 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 #e56b8b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(229, 107, 139, 10%) | #e56b8b1a | |
rgb(229, 107, 139, 20%) | #e56b8b33 | |
rgb(229, 107, 139, 40%) | #e56b8b4C | |
rgb(229, 107, 139, 60%) | #e56b8b99 | |
rgb(229, 107, 139, 80%) | #e56b8bCC | |
rgb(229, 107, 139, 100%) | #e56b8bFF |
Saturated and desaturated colors of #e56b8b
HSL Code | Preview |
---|---|
hsl(344, 10%, 66%) | |
hsl(344, 20%, 66%) | |
hsl(344, 40%, 66%) | |
hsl(344, 60%, 66%) | |
hsl(344, 80%, 66%) | |
hsl(344, 100%, 66%) |
#e56b8b Color Usage In CSS
body { color: #e56b8b; } p { color: rgb(229, 107, 139); } header { border-bottom:1px solid #e56b8b; }