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