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