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