Hex color #1f0a18, RGB(31, 10, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f0a18 is a shade of red-magenta. In a RGB color space it is composed of 12.16% red, 3.92% green and 9.41% blue. In HSL notation it has 320° hue, 51.2% saturation and 8% lightness. The process color (CMYK) is combination of 0% cyan, 67.74% magenta, 22.58% yellow and 87.84% key (black). The closest short hexadecimal code of #1f0a18 is #101.
Example CSS code:
.setFontColor { color: #1f0a18; }
.setBackgroundColor { background-color: #1f0a18; }
How to set font color?
<p style="color:#1f0a18">Font color is #1f0a18.</p>
Font color is #1f0a18.
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:#1f0a18">Background color is #1f0a18.</div>
Background color is #1f0a18.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant