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