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