Hex color #1c1522, RGB(28, 21, 34) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1c1522 is a shade of blue-magenta. In a RGB color space it is composed of 10.98% red, 8.24% green and 13.33% blue. In HSL notation it has 272.3° hue, 23.6% saturation and 10.8% lightness. The process color (CMYK) is combination of 17.65% cyan, 38.24% magenta, 0% yellow and 86.67% key (black). The closest short hexadecimal code of #1c1522 is #112.
Example CSS code:
.setFontColor { color: #1c1522; }
.setBackgroundColor { background-color: #1c1522; }
How to set font color?
<p style="color:#1c1522">Font color is #1c1522.</p>
Font color is #1c1522.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#1c1522">Background color is #1c1522.</div>
Background color is #1c1522.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage