Hex color #1f213d, RGB(31, 33, 61) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f213d is a shade of blue. In a RGB color space it is composed of 12.16% red, 12.94% green and 23.92% blue. In HSL notation it has 236° hue, 32.6% saturation and 18% lightness. The process color (CMYK) is combination of 49.18% cyan, 45.90% magenta, 0% yellow and 76.08% key (black). The closest short hexadecimal code of #1f213d is #123.
Example CSS code:
.setFontColor { color: #1f213d; }
.setBackgroundColor { background-color: #1f213d; }
How to set font color?
<p style="color:#1f213d">Font color is #1f213d.</p>
Font color is #1f213d.
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:#1f213d">Background color is #1f213d.</div>
Background color is #1f213d.
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