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