Hex color #2e1c24, RGB(46, 28, 36) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e1c24 is a shade of red-magenta. In a RGB color space it is composed of 18.04% red, 10.98% green and 14.12% blue. In HSL notation it has 333.3° hue, 24.3% saturation and 14.5% lightness. The process color (CMYK) is combination of 0% cyan, 39.13% magenta, 21.74% yellow and 81.96% key (black). The closest short hexadecimal code of #2e1c24 is #212.
Example CSS code:
.setFontColor { color: #2e1c24; }
.setBackgroundColor { background-color: #2e1c24; }
How to set font color?
<p style="color:#2e1c24">Font color is #2e1c24.</p>
Font color is #2e1c24.
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:#2e1c24">Background color is #2e1c24.</div>
Background color is #2e1c24.
Compromise in colors is grey.
- Edi Rama