#ee0f1b Color
Color Codes | |
---|---|
Hex Code | #ee0f1b |
RGB Code | rgb(238, 15, 27) |
HSL Code | hsl(357, 88%, 50%) |
#ee0f1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(238, 15, 27); }
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(357, 88%, 50%); }
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 #ee0f1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(238, 15, 27, 10%) | #ee0f1b1a | |
rgb(238, 15, 27, 20%) | #ee0f1b33 | |
rgb(238, 15, 27, 40%) | #ee0f1b4C | |
rgb(238, 15, 27, 60%) | #ee0f1b99 | |
rgb(238, 15, 27, 80%) | #ee0f1bCC | |
rgb(238, 15, 27, 100%) | #ee0f1bFF |
Saturated and desaturated colors of #ee0f1b
HSL Code | Preview |
---|---|
hsl(357, 10%, 50%) | |
hsl(357, 20%, 50%) | |
hsl(357, 40%, 50%) | |
hsl(357, 60%, 50%) | |
hsl(357, 80%, 50%) | |
hsl(357, 100%, 50%) |
#ee0f1b Color Usage In CSS
body { color: #ee0f1b; } p { color: rgb(238, 15, 27); } header { border-bottom:1px solid #ee0f1b; }