#e24f3c Color
Color Codes | |
---|---|
Hex Code | #e24f3c |
RGB Code | rgb(226, 79, 60) |
HSL Code | hsl(7, 74%, 56%) |
#e24f3c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 79, 60); }
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(7, 74%, 56%); }
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 #e24f3c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 79, 60, 10%) | #e24f3c1a | |
rgb(226, 79, 60, 20%) | #e24f3c33 | |
rgb(226, 79, 60, 40%) | #e24f3c4C | |
rgb(226, 79, 60, 60%) | #e24f3c99 | |
rgb(226, 79, 60, 80%) | #e24f3cCC | |
rgb(226, 79, 60, 100%) | #e24f3cFF |
Saturated and desaturated colors of #e24f3c
HSL Code | Preview |
---|---|
hsl(7, 10%, 56%) | |
hsl(7, 20%, 56%) | |
hsl(7, 40%, 56%) | |
hsl(7, 60%, 56%) | |
hsl(7, 80%, 56%) | |
hsl(7, 100%, 56%) |
#e24f3c Color Usage In CSS
body { color: #e24f3c; } p { color: rgb(226, 79, 60); } header { border-bottom:1px solid #e24f3c; }