Hex color #051628, RGB(5, 22, 40) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #051628 is a shade of blue-cyan. In a RGB color space it is composed of 1.96% red, 8.63% green and 15.69% blue. In HSL notation it has 210.9° hue, 77.8% saturation and 8.8% lightness. The process color (CMYK) is combination of 87.5% cyan, 45% magenta, 0% yellow and 84.31% key (black). The closest short hexadecimal code of #051628 is #012.
Example CSS code:
.setFontColor { color: #051628; }
.setBackgroundColor { background-color: #051628; }
How to set font color?
<p style="color:#051628">Font color is #051628.</p>
Font color is #051628.
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:#051628">Background color is #051628.</div>
Background color is #051628.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage