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