Hex color #040124, RGB(4, 1, 36) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #040124 is a shade of blue. In a RGB color space it is composed of 1.57% red, 0.39% green and 14.12% blue. In HSL notation it has 245.1° hue, 94.6% saturation and 7.3% lightness. The process color (CMYK) is combination of 88.89% cyan, 97.22% magenta, 0% yellow and 85.88% key (black). The closest short hexadecimal code of #040124 is #002.
Example CSS code:
.setFontColor { color: #040124; }
.setBackgroundColor { background-color: #040124; }
How to set font color?
<p style="color:#040124">Font color is #040124.</p>
Font color is #040124.
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:#040124">Background color is #040124.</div>
Background color is #040124.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage