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