#eb4642 Color
Color Codes | |
---|---|
Hex Code | #eb4642 |
RGB Code | rgb(235, 70, 66) |
HSL Code | hsl(1, 81%, 59%) |
#eb4642 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 70, 66); }
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(1, 81%, 59%); }
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 #eb4642
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 70, 66, 10%) | #eb46421a | |
rgb(235, 70, 66, 20%) | #eb464233 | |
rgb(235, 70, 66, 40%) | #eb46424C | |
rgb(235, 70, 66, 60%) | #eb464299 | |
rgb(235, 70, 66, 80%) | #eb4642CC | |
rgb(235, 70, 66, 100%) | #eb4642FF |
Saturated and desaturated colors of #eb4642
HSL Code | Preview |
---|---|
hsl(1, 10%, 59%) | |
hsl(1, 20%, 59%) | |
hsl(1, 40%, 59%) | |
hsl(1, 60%, 59%) | |
hsl(1, 80%, 59%) | |
hsl(1, 100%, 59%) |
#eb4642 Color Usage In CSS
body { color: #eb4642; } p { color: rgb(235, 70, 66); } header { border-bottom:1px solid #eb4642; }