Hex color #050c5a, RGB(5, 12, 90) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #050c5a is a shade of blue. In a RGB color space it is composed of 1.96% red, 4.71% green and 35.29% blue. In HSL notation it has 235.1° hue, 89.5% saturation and 18.6% lightness. The process color (CMYK) is combination of 94.44% cyan, 86.67% magenta, 0% yellow and 64.71% key (black). The closest short hexadecimal code of #050c5a is #005.
Example CSS code:
.setFontColor { color: #050c5a; }
.setBackgroundColor { background-color: #050c5a; }
How to set font color?
<p style="color:#050c5a">Font color is #050c5a.</p>
Font color is #050c5a.
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:#050c5a">Background color is #050c5a.</div>
Background color is #050c5a.
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