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