Hex color #2e0404, RGB(46, 4, 4) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e0404 is a shade of red. In a RGB color space it is composed of 18.04% red, 1.57% green and 1.57% blue. In HSL notation it has 0° hue, 84% saturation and 9.8% lightness. The process color (CMYK) is combination of 0% cyan, 91.30% magenta, 91.30% yellow and 81.96% key (black). The closest short hexadecimal code of #2e0404 is #200.
Example CSS code:
.setFontColor { color: #2e0404; }
.setBackgroundColor { background-color: #2e0404; }
How to set font color?
<p style="color:#2e0404">Font color is #2e0404.</p>
Font color is #2e0404.
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:#2e0404">Background color is #2e0404.</div>
Background color is #2e0404.
Compromise in colors is grey.
- Edi Rama