Hex color #1f375b, RGB(31, 55, 91) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f375b is a shade of blue-cyan. In a RGB color space it is composed of 12.16% red, 21.57% green and 35.69% blue. In HSL notation it has 216° hue, 49.2% saturation and 23.9% lightness. The process color (CMYK) is combination of 65.93% cyan, 39.56% magenta, 0% yellow and 64.31% key (black). The closest short hexadecimal code of #1f375b is #135.
Example CSS code:
.setFontColor { color: #1f375b; }
.setBackgroundColor { background-color: #1f375b; }
How to set font color?
<p style="color:#1f375b">Font color is #1f375b.</p>
Font color is #1f375b.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#1f375b">Background color is #1f375b.</div>
Background color is #1f375b.
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