Hex color #122c81, RGB(18, 44, 129) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #122c81 is a shade of blue. In a RGB color space it is composed of 7.06% red, 17.25% green and 50.59% blue. In HSL notation it has 225.9° hue, 75.5% saturation and 28.8% lightness. The process color (CMYK) is combination of 86.05% cyan, 65.89% magenta, 0% yellow and 49.41% key (black). The closest short hexadecimal code of #122c81 is #128.
Example CSS code:
.setFontColor { color: #122c81; }
.setBackgroundColor { background-color: #122c81; }
How to set font color?
<p style="color:#122c81">Font color is #122c81.</p>
Font color is #122c81.
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:#122c81">Background color is #122c81.</div>
Background color is #122c81.
Compromise in colors is grey.
- Edi Rama