Hex color #1f1998, RGB(31, 25, 152) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f1998 is a shade of blue. In a RGB color space it is composed of 12.16% red, 9.8% green and 59.61% blue. In HSL notation it has 242.8° hue, 71.8% saturation and 34.7% lightness. The process color (CMYK) is combination of 79.61% cyan, 83.55% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #1f1998 is #119.
Example CSS code:
.setFontColor { color: #1f1998; }
.setBackgroundColor { background-color: #1f1998; }
How to set font color?
<p style="color:#1f1998">Font color is #1f1998.</p>
Font color is #1f1998.
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:#1f1998">Background color is #1f1998.</div>
Background color is #1f1998.
Compromise in colors is grey.
- Edi Rama