#e5110c Color
Color Codes | |
---|---|
Hex Code | #e5110c |
RGB Code | rgb(229, 17, 12) |
HSL Code | hsl(1, 90%, 47%) |
#e5110c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(229, 17, 12); }
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, 90%, 47%); }
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 #e5110c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(229, 17, 12, 10%) | #e5110c1a | |
rgb(229, 17, 12, 20%) | #e5110c33 | |
rgb(229, 17, 12, 40%) | #e5110c4C | |
rgb(229, 17, 12, 60%) | #e5110c99 | |
rgb(229, 17, 12, 80%) | #e5110cCC | |
rgb(229, 17, 12, 100%) | #e5110cFF |
Saturated and desaturated colors of #e5110c
HSL Code | Preview |
---|---|
hsl(1, 10%, 47%) | |
hsl(1, 20%, 47%) | |
hsl(1, 40%, 47%) | |
hsl(1, 60%, 47%) | |
hsl(1, 80%, 47%) | |
hsl(1, 100%, 47%) |
#e5110c Color Usage In CSS
body { color: #e5110c; } p { color: rgb(229, 17, 12); } header { border-bottom:1px solid #e5110c; }