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