Hex color #ec3c3c, RGB(236, 60, 60) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ec3c3c is a shade of red. In a RGB color space it is composed of 92.55% red, 23.53% green and 23.53% blue. In HSL notation it has 0° hue, 82.2% saturation and 58% lightness. The process color (CMYK) is combination of 0% cyan, 74.58% magenta, 74.58% yellow and 7.45% key (black). The closest short hexadecimal code of #ec3c3c is #e33.
Example CSS code:
.setFontColor { color: #ec3c3c; }
.setBackgroundColor { background-color: #ec3c3c; }
How to set font color?
<p style="color:#ec3c3c">Font color is #ec3c3c.</p>
Font color is #ec3c3c.
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
How to set background color?
<div style="background-color:#ec3c3c">Background color is #ec3c3c.</div>
Background color is #ec3c3c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage