Hex color #ec1616, RGB(236, 22, 22) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ec1616 is a shade of red. In a RGB color space it is composed of 92.55% red, 8.63% green and 8.63% blue. In HSL notation it has 0° hue, 84.9% saturation and 50.6% lightness. The process color (CMYK) is combination of 0% cyan, 90.68% magenta, 90.68% yellow and 7.45% key (black). The closest short hexadecimal code of #ec1616 is #e11.
Example CSS code:
.setFontColor { color: #ec1616; }
.setBackgroundColor { background-color: #ec1616; }
How to set font color?
<p style="color:#ec1616">Font color is #ec1616.</p>
Font color is #ec1616.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#ec1616">Background color is #ec1616.</div>
Background color is #ec1616.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore