#ec1910 Color
Color Codes | |
---|---|
Hex Code | #ec1910 |
RGB Code | rgb(236, 25, 16) |
HSL Code | hsl(2, 87%, 49%) |
#ec1910 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(236, 25, 16); }
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, 87%, 49%); }
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 #ec1910
RGB Code | Hex Code | Preview |
---|---|---|
rgb(236, 25, 16, 10%) | #ec19101a | |
rgb(236, 25, 16, 20%) | #ec191033 | |
rgb(236, 25, 16, 40%) | #ec19104C | |
rgb(236, 25, 16, 60%) | #ec191099 | |
rgb(236, 25, 16, 80%) | #ec1910CC | |
rgb(236, 25, 16, 100%) | #ec1910FF |
Saturated and desaturated colors of #ec1910
HSL Code | Preview |
---|---|
hsl(2, 10%, 49%) | |
hsl(2, 20%, 49%) | |
hsl(2, 40%, 49%) | |
hsl(2, 60%, 49%) | |
hsl(2, 80%, 49%) | |
hsl(2, 100%, 49%) |
#ec1910 Color Usage In CSS
body { color: #ec1910; } p { color: rgb(236, 25, 16); } header { border-bottom:1px solid #ec1910; }