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