Hex color #1a1f55, RGB(26, 31, 85) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1a1f55 is a shade of blue. In a RGB color space it is composed of 10.2% red, 12.16% green and 33.33% blue. In HSL notation it has 234.9° hue, 53.2% saturation and 21.8% lightness. The process color (CMYK) is combination of 69.41% cyan, 63.53% magenta, 0% yellow and 66.67% key (black). The closest short hexadecimal code of #1a1f55 is #115.
Example CSS code:
.setFontColor { color: #1a1f55; }
.setBackgroundColor { background-color: #1a1f55; }
How to set font color?
<p style="color:#1a1f55">Font color is #1a1f55.</p>
Font color is #1a1f55.
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:#1a1f55">Background color is #1a1f55.</div>
Background color is #1a1f55.
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