Hex color #040a1d, RGB(4, 10, 29) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #040a1d is a shade of blue. In a RGB color space it is composed of 1.57% red, 3.92% green and 11.37% blue. In HSL notation it has 225.6° hue, 75.8% saturation and 6.5% lightness. The process color (CMYK) is combination of 86.21% cyan, 65.52% magenta, 0% yellow and 88.63% key (black). The closest short hexadecimal code of #040a1d is #001.
Example CSS code:
.setFontColor { color: #040a1d; }
.setBackgroundColor { background-color: #040a1d; }
How to set font color?
<p style="color:#040a1d">Font color is #040a1d.</p>
Font color is #040a1d.
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
How to set background color?
<div style="background-color:#040a1d">Background color is #040a1d.</div>
Background color is #040a1d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage