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