Hex color #0c0c9d, RGB(12, 12, 157) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0c0c9d is a shade of blue. In a RGB color space it is composed of 4.71% red, 4.71% green and 61.57% blue. In HSL notation it has 240° hue, 85.8% saturation and 33.1% lightness. The process color (CMYK) is combination of 92.36% cyan, 92.36% magenta, 0% yellow and 38.43% key (black). The closest short hexadecimal code of #0c0c9d is #009.
Example CSS code:
.setFontColor { color: #0c0c9d; }
.setBackgroundColor { background-color: #0c0c9d; }
How to set font color?
<p style="color:#0c0c9d">Font color is #0c0c9d.</p>
Font color is #0c0c9d.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#0c0c9d">Background color is #0c0c9d.</div>
Background color is #0c0c9d.
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