Hex color #1f1f1a, RGB(31, 31, 26) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f1f1a is a shade of yellow. In a RGB color space it is composed of 12.16% red, 12.16% green and 10.2% blue. In HSL notation it has 60° hue, 8.8% saturation and 11.2% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 16.13% yellow and 87.84% key (black). The closest short hexadecimal code of #1f1f1a is #111.
Example CSS code:
.setFontColor { color: #1f1f1a; }
.setBackgroundColor { background-color: #1f1f1a; }
How to set font color?
<p style="color:#1f1f1a">Font color is #1f1f1a.</p>
Font color is #1f1f1a.
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:#1f1f1a">Background color is #1f1f1a.</div>
Background color is #1f1f1a.
Compromise in colors is grey.
- Edi Rama