Hex color #1212af, RGB(18, 18, 175) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1212af is a shade of blue. In a RGB color space it is composed of 7.06% red, 7.06% green and 68.63% blue. In HSL notation it has 240° hue, 81.3% saturation and 37.8% lightness. The process color (CMYK) is combination of 89.71% cyan, 89.71% magenta, 0% yellow and 31.37% key (black). The closest short hexadecimal code of #1212af is #11a.
Example CSS code:
.setFontColor { color: #1212af; }
.setBackgroundColor { background-color: #1212af; }
How to set font color?
<p style="color:#1212af">Font color is #1212af.</p>
Font color is #1212af.
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:#1212af">Background color is #1212af.</div>
Background color is #1212af.
Compromise in colors is grey.
- Edi Rama