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