Hex color #1f1238, RGB(31, 18, 56) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f1238 is a shade of blue-magenta. In a RGB color space it is composed of 12.16% red, 7.06% green and 21.96% blue. In HSL notation it has 260.5° hue, 51.4% saturation and 14.5% lightness. The process color (CMYK) is combination of 44.64% cyan, 67.86% magenta, 0% yellow and 78.04% key (black). The closest short hexadecimal code of #1f1238 is #113.
Example CSS code:
.setFontColor { color: #1f1238; }
.setBackgroundColor { background-color: #1f1238; }
How to set font color?
<p style="color:#1f1238">Font color is #1f1238.</p>
Font color is #1f1238.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#1f1238">Background color is #1f1238.</div>
Background color is #1f1238.
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