Hex color #0012a5, RGB(0, 18, 165) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0012a5 is a shade of blue. In a RGB color space it is composed of 0% red, 7.06% green and 64.71% blue. In HSL notation it has 233.5° hue, 100% saturation and 32.4% lightness. The process color (CMYK) is combination of 100% cyan, 89.09% magenta, 0% yellow and 35.29% key (black). The closest short hexadecimal code of #0012a5 is #01a.
Example CSS code:
.setFontColor { color: #0012a5; }
.setBackgroundColor { background-color: #0012a5; }
How to set font color?
<p style="color:#0012a5">Font color is #0012a5.</p>
Font color is #0012a5.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#0012a5">Background color is #0012a5.</div>
Background color is #0012a5.
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