#eb4eab Color
Color Codes | |
---|---|
Hex Code | #eb4eab |
RGB Code | rgb(235, 78, 171) |
HSL Code | hsl(324, 80%, 61%) |
#eb4eab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 78, 171); }
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(324, 80%, 61%); }
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 #eb4eab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 78, 171, 10%) | #eb4eab1a | |
rgb(235, 78, 171, 20%) | #eb4eab33 | |
rgb(235, 78, 171, 40%) | #eb4eab4C | |
rgb(235, 78, 171, 60%) | #eb4eab99 | |
rgb(235, 78, 171, 80%) | #eb4eabCC | |
rgb(235, 78, 171, 100%) | #eb4eabFF |
Saturated and desaturated colors of #eb4eab
HSL Code | Preview |
---|---|
hsl(324, 10%, 61%) | |
hsl(324, 20%, 61%) | |
hsl(324, 40%, 61%) | |
hsl(324, 60%, 61%) | |
hsl(324, 80%, 61%) | |
hsl(324, 100%, 61%) |
#eb4eab Color Usage In CSS
body { color: #eb4eab; } p { color: rgb(235, 78, 171); } header { border-bottom:1px solid #eb4eab; }