Hex color #041c34, RGB(4, 28, 52) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #041c34 is a shade of blue-cyan. In a RGB color space it is composed of 1.57% red, 10.98% green and 20.39% blue. In HSL notation it has 210° hue, 85.7% saturation and 11% lightness. The process color (CMYK) is combination of 92.31% cyan, 46.15% magenta, 0% yellow and 79.61% key (black). The closest short hexadecimal code of #041c34 is #013.
Example CSS code:
.setFontColor { color: #041c34; }
.setBackgroundColor { background-color: #041c34; }
How to set font color?
<p style="color:#041c34">Font color is #041c34.</p>
Font color is #041c34.
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:#041c34">Background color is #041c34.</div>
Background color is #041c34.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage