Hex color #150217, RGB(21, 2, 23) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #150217 is a shade of magenta. In a RGB color space it is composed of 8.24% red, 0.78% green and 9.02% blue. In HSL notation it has 294.3° hue, 84% saturation and 4.9% lightness. The process color (CMYK) is combination of 8.70% cyan, 91.30% magenta, 0% yellow and 90.98% key (black). The closest short hexadecimal code of #150217 is #101.
Example CSS code:
.setFontColor { color: #150217; }
.setBackgroundColor { background-color: #150217; }
How to set font color?
<p style="color:#150217">Font color is #150217.</p>
Font color is #150217.
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:#150217">Background color is #150217.</div>
Background color is #150217.
Compromise in colors is grey.
- Edi Rama