Hex color #020504, RGB(2, 5, 4) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #020504 is a shade of green-cyan. In a RGB color space it is composed of 0.78% red, 1.96% green and 1.57% blue. In HSL notation it has 160° hue, 42.9% saturation and 1.4% lightness. The process color (CMYK) is combination of 60.00% cyan, 0% magenta, 20.00% yellow and 98.04% key (black). The closest short hexadecimal code of #020504 is #000.
Example CSS code:
.setFontColor { color: #020504; }
.setBackgroundColor { background-color: #020504; }
How to set font color?
<p style="color:#020504">Font color is #020504.</p>
Font color is #020504.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#020504">Background color is #020504.</div>
Background color is #020504.
Compromise in colors is grey.
- Edi Rama