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