Hex color #021212, RGB(2, 18, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #021212 is a shade of cyan. In a RGB color space it is composed of 0.78% red, 7.06% green and 7.06% blue. In HSL notation it has 180° hue, 80% saturation and 3.9% lightness. The process color (CMYK) is combination of 88.89% cyan, 0% magenta, 0% yellow and 92.94% key (black). The closest short hexadecimal code of #021212 is #011.
Example CSS code:
.setFontColor { color: #021212; }
.setBackgroundColor { background-color: #021212; }
How to set font color?
<p style="color:#021212">Font color is #021212.</p>
Font color is #021212.
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:#021212">Background color is #021212.</div>
Background color is #021212.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage