Hex color #7a1506, RGB(122, 21, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7a1506 is a shade of red. In a RGB color space it is composed of 47.84% red, 8.24% green and 2.35% blue. In HSL notation it has 7.8° hue, 90.6% saturation and 25.1% lightness. The process color (CMYK) is combination of 0% cyan, 82.79% magenta, 95.08% yellow and 52.16% key (black). The closest short hexadecimal code of #7a1506 is #710.
Example CSS code:
.setFontColor { color: #7a1506; }
.setBackgroundColor { background-color: #7a1506; }
How to set font color?
<p style="color:#7a1506">Font color is #7a1506.</p>
Font color is #7a1506.
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:#7a1506">Background color is #7a1506.</div>
Background color is #7a1506.
Compromise in colors is grey.
- Edi Rama