Hex color #171d8e, RGB(23, 29, 142) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #171d8e is a shade of blue. In a RGB color space it is composed of 9.02% red, 11.37% green and 55.69% blue. In HSL notation it has 237° hue, 72.1% saturation and 32.4% lightness. The process color (CMYK) is combination of 83.80% cyan, 79.58% magenta, 0% yellow and 44.31% key (black). The closest short hexadecimal code of #171d8e is #118.
Example CSS code:
.setFontColor { color: #171d8e; }
.setBackgroundColor { background-color: #171d8e; }
How to set font color?
<p style="color:#171d8e">Font color is #171d8e.</p>
Font color is #171d8e.
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
How to set background color?
<div style="background-color:#171d8e">Background color is #171d8e.</div>
Background color is #171d8e.
Compromise in colors is grey.
- Edi Rama