Hex color #e7132a, RGB(231, 19, 42) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #e7132a is a shade of red. In a RGB color space it is composed of 90.59% red, 7.45% green and 16.47% blue. In HSL notation it has 353.5° hue, 84.8% saturation and 49% lightness. The process color (CMYK) is combination of 0% cyan, 91.77% magenta, 81.82% yellow and 9.41% key (black). The closest short hexadecimal code of #e7132a is #e12.
Example CSS code:
.setFontColor { color: #e7132a; }
.setBackgroundColor { background-color: #e7132a; }
How to set font color?
<p style="color:#e7132a">Font color is #e7132a.</p>
Font color is #e7132a.
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:#e7132a">Background color is #e7132a.</div>
Background color is #e7132a.
Compromise in colors is grey.
- Edi Rama