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