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