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