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