Hex color #1f237e, RGB(31, 35, 126) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f237e is a shade of blue. In a RGB color space it is composed of 12.16% red, 13.73% green and 49.41% blue. In HSL notation it has 237.5° hue, 60.5% saturation and 30.8% lightness. The process color (CMYK) is combination of 75.40% cyan, 72.22% magenta, 0% yellow and 50.59% key (black). The closest short hexadecimal code of #1f237e is #127.
Example CSS code:
.setFontColor { color: #1f237e; }
.setBackgroundColor { background-color: #1f237e; }
How to set font color?
<p style="color:#1f237e">Font color is #1f237e.</p>
Font color is #1f237e.
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:#1f237e">Background color is #1f237e.</div>
Background color is #1f237e.
Compromise in colors is grey.
- Edi Rama