Hex color #172e8a, RGB(23, 46, 138) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #172e8a is a shade of blue. In a RGB color space it is composed of 9.02% red, 18.04% green and 54.12% blue. In HSL notation it has 228° hue, 71.4% saturation and 31.6% lightness. The process color (CMYK) is combination of 83.33% cyan, 66.67% magenta, 0% yellow and 45.88% key (black). The closest short hexadecimal code of #172e8a is #128.
Example CSS code:
.setFontColor { color: #172e8a; }
.setBackgroundColor { background-color: #172e8a; }
How to set font color?
<p style="color:#172e8a">Font color is #172e8a.</p>
Font color is #172e8a.
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:#172e8a">Background color is #172e8a.</div>
Background color is #172e8a.
Compromise in colors is grey.
- Edi Rama