#eb1d3e Color
Color Codes | |
---|---|
Hex Code | #eb1d3e |
RGB Code | rgb(235, 29, 62) |
HSL Code | hsl(350, 84%, 52%) |
#eb1d3e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(235, 29, 62); }
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(350, 84%, 52%); }
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 #eb1d3e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(235, 29, 62, 10%) | #eb1d3e1a | |
rgb(235, 29, 62, 20%) | #eb1d3e33 | |
rgb(235, 29, 62, 40%) | #eb1d3e4C | |
rgb(235, 29, 62, 60%) | #eb1d3e99 | |
rgb(235, 29, 62, 80%) | #eb1d3eCC | |
rgb(235, 29, 62, 100%) | #eb1d3eFF |
Saturated and desaturated colors of #eb1d3e
HSL Code | Preview |
---|---|
hsl(350, 10%, 52%) | |
hsl(350, 20%, 52%) | |
hsl(350, 40%, 52%) | |
hsl(350, 60%, 52%) | |
hsl(350, 80%, 52%) | |
hsl(350, 100%, 52%) |
#eb1d3e Color Usage In CSS
body { color: #eb1d3e; } p { color: rgb(235, 29, 62); } header { border-bottom:1px solid #eb1d3e; }