Hex color #0c0306, RGB(12, 3, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c0306 is a shade of red-magenta. In a RGB color space it is composed of 4.71% red, 1.18% green and 2.35% blue. In HSL notation it has 340° hue, 60% saturation and 2.9% lightness. The process color (CMYK) is combination of 0% cyan, 75.00% magenta, 50% yellow and 95.29% key (black). The closest short hexadecimal code of #0c0306 is #000.
Example CSS code:
.setFontColor { color: #0c0306; }
.setBackgroundColor { background-color: #0c0306; }
How to set font color?
<p style="color:#0c0306">Font color is #0c0306.</p>
Font color is #0c0306.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant
How to set background color?
<div style="background-color:#0c0306">Background color is #0c0306.</div>
Background color is #0c0306.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage