Hex color #020006, RGB(2, 0, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #020006 is a shade of blue-magenta. In a RGB color space it is composed of 0.78% red, 0% green and 2.35% blue. In HSL notation it has 260° hue, 100% saturation and 1.2% lightness. The process color (CMYK) is combination of 66.67% cyan, 100% magenta, 0% yellow and 97.65% key (black). The closest short hexadecimal code of #020006 is #000.
Example CSS code:
.setFontColor { color: #020006; }
.setBackgroundColor { background-color: #020006; }
How to set font color?
<p style="color:#020006">Font color is #020006.</p>
Font color is #020006.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#020006">Background color is #020006.</div>
Background color is #020006.
Compromise in colors is grey.
- Edi Rama