Hex color #1a0026, RGB(26, 0, 38) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a0026 is a shade of blue-magenta. In a RGB color space it is composed of 10.2% red, 0% green and 14.9% blue. In HSL notation it has 281.1° hue, 100% saturation and 7.5% lightness. The process color (CMYK) is combination of 31.58% cyan, 100% magenta, 0% yellow and 85.10% key (black). The closest short hexadecimal code of #1a0026 is #102.
Example CSS code:
.setFontColor { color: #1a0026; }
.setBackgroundColor { background-color: #1a0026; }
How to set font color?
<p style="color:#1a0026">Font color is #1a0026.</p>
Font color is #1a0026.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#1a0026">Background color is #1a0026.</div>
Background color is #1a0026.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage