Hex color #1b0a1f, RGB(27, 10, 31) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1b0a1f is a shade of magenta. In a RGB color space it is composed of 10.59% red, 3.92% green and 12.16% blue. In HSL notation it has 288.6° hue, 51.2% saturation and 8% lightness. The process color (CMYK) is combination of 12.90% cyan, 67.74% magenta, 0% yellow and 87.84% key (black). The closest short hexadecimal code of #1b0a1f is #101.
Example CSS code:
.setFontColor { color: #1b0a1f; }
.setBackgroundColor { background-color: #1b0a1f; }
How to set font color?
<p style="color:#1b0a1f">Font color is #1b0a1f.</p>
Font color is #1b0a1f.
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:#1b0a1f">Background color is #1b0a1f.</div>
Background color is #1b0a1f.
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