#ed110a Color
Color Codes | |
---|---|
Hex Code | #ed110a |
RGB Code | rgb(237, 17, 10) |
HSL Code | hsl(2, 92%, 48%) |
#ed110a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(237, 17, 10); }
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(2, 92%, 48%); }
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 #ed110a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(237, 17, 10, 10%) | #ed110a1a | |
rgb(237, 17, 10, 20%) | #ed110a33 | |
rgb(237, 17, 10, 40%) | #ed110a4C | |
rgb(237, 17, 10, 60%) | #ed110a99 | |
rgb(237, 17, 10, 80%) | #ed110aCC | |
rgb(237, 17, 10, 100%) | #ed110aFF |
Saturated and desaturated colors of #ed110a
HSL Code | Preview |
---|---|
hsl(2, 10%, 48%) | |
hsl(2, 20%, 48%) | |
hsl(2, 40%, 48%) | |
hsl(2, 60%, 48%) | |
hsl(2, 80%, 48%) | |
hsl(2, 100%, 48%) |
#ed110a Color Usage In CSS
body { color: #ed110a; } p { color: rgb(237, 17, 10); } header { border-bottom:1px solid #ed110a; }