Hex color #ed2f2f, RGB(237, 47, 47) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #ed2f2f is a shade of red. In a RGB color space it is composed of 92.94% red, 18.43% green and 18.43% blue. In HSL notation it has 0° hue, 84.1% saturation and 55.7% lightness. The process color (CMYK) is combination of 0% cyan, 80.17% magenta, 80.17% yellow and 7.06% key (black). The closest short hexadecimal code of #ed2f2f is #e22.
Example CSS code:
.setFontColor { color: #ed2f2f; }
.setBackgroundColor { background-color: #ed2f2f; }
How to set font color?
<p style="color:#ed2f2f">Font color is #ed2f2f.</p>
Font color is #ed2f2f.
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:#ed2f2f">Background color is #ed2f2f.</div>
Background color is #ed2f2f.
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