Hex color #051a27, RGB(5, 26, 39) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #051a27 is a shade of blue-cyan. In a RGB color space it is composed of 1.96% red, 10.2% green and 15.29% blue. In HSL notation it has 202.9° hue, 77.3% saturation and 8.6% lightness. The process color (CMYK) is combination of 87.18% cyan, 33.33% magenta, 0% yellow and 84.71% key (black). The closest short hexadecimal code of #051a27 is #012.
Example CSS code:
.setFontColor { color: #051a27; }
.setBackgroundColor { background-color: #051a27; }
How to set font color?
<p style="color:#051a27">Font color is #051a27.</p>
Font color is #051a27.
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:#051a27">Background color is #051a27.</div>
Background color is #051a27.
Compromise in colors is grey.
- Edi Rama