Hex color #1f0f0f, RGB(31, 15, 15) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f0f0f is a shade of red. In a RGB color space it is composed of 12.16% red, 5.88% green and 5.88% blue. In HSL notation it has 0° hue, 34.8% saturation and 9% lightness. The process color (CMYK) is combination of 0% cyan, 51.61% magenta, 51.61% yellow and 87.84% key (black). The closest short hexadecimal code of #1f0f0f is #100.
Example CSS code:
.setFontColor { color: #1f0f0f; }
.setBackgroundColor { background-color: #1f0f0f; }
How to set font color?
<p style="color:#1f0f0f">Font color is #1f0f0f.</p>
Font color is #1f0f0f.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#1f0f0f">Background color is #1f0f0f.</div>
Background color is #1f0f0f.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage