Hex color #0c0418, RGB(12, 4, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c0418 is a shade of blue-magenta. In a RGB color space it is composed of 4.71% red, 1.57% green and 9.41% blue. In HSL notation it has 264° hue, 71.4% saturation and 5.5% lightness. The process color (CMYK) is combination of 50.00% cyan, 83.33% magenta, 0% yellow and 90.59% key (black). The closest short hexadecimal code of #0c0418 is #001.
Example CSS code:
.setFontColor { color: #0c0418; }
.setBackgroundColor { background-color: #0c0418; }
How to set font color?
<p style="color:#0c0418">Font color is #0c0418.</p>
Font color is #0c0418.
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:#0c0418">Background color is #0c0418.</div>
Background color is #0c0418.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage