Hex color #1f4aa6, RGB(31, 74, 166) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f4aa6 is a shade of blue-cyan. In a RGB color space it is composed of 12.16% red, 29.02% green and 65.1% blue. In HSL notation it has 220.9° hue, 68.5% saturation and 38.6% lightness. The process color (CMYK) is combination of 81.33% cyan, 55.42% magenta, 0% yellow and 34.90% key (black). The closest short hexadecimal code of #1f4aa6 is #14a.
Example CSS code:
.setFontColor { color: #1f4aa6; }
.setBackgroundColor { background-color: #1f4aa6; }
How to set font color?
<p style="color:#1f4aa6">Font color is #1f4aa6.</p>
Font color is #1f4aa6.
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
How to set background color?
<div style="background-color:#1f4aa6">Background color is #1f4aa6.</div>
Background color is #1f4aa6.
Compromise in colors is grey.
- Edi Rama