Hex color #7a1607, RGB(122, 22, 7) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7a1607 is a shade of red. In a RGB color space it is composed of 47.84% red, 8.63% green and 2.75% blue. In HSL notation it has 7.8° hue, 89.1% saturation and 25.3% lightness. The process color (CMYK) is combination of 0% cyan, 81.97% magenta, 94.26% yellow and 52.16% key (black). The closest short hexadecimal code of #7a1607 is #710.
Example CSS code:
.setFontColor { color: #7a1607; }
.setBackgroundColor { background-color: #7a1607; }
How to set font color?
<p style="color:#7a1607">Font color is #7a1607.</p>
Font color is #7a1607.
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:#7a1607">Background color is #7a1607.</div>
Background color is #7a1607.
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