Hex color #1f5965, RGB(31, 89, 101) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f5965 is a shade of cyan. In a RGB color space it is composed of 12.16% red, 34.9% green and 39.61% blue. In HSL notation it has 190.3° hue, 53% saturation and 25.9% lightness. The process color (CMYK) is combination of 69.31% cyan, 11.88% magenta, 0% yellow and 60.39% key (black). The closest short hexadecimal code of #1f5965 is #156.
Example CSS code:
.setFontColor { color: #1f5965; }
.setBackgroundColor { background-color: #1f5965; }
How to set font color?
<p style="color:#1f5965">Font color is #1f5965.</p>
Font color is #1f5965.
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:#1f5965">Background color is #1f5965.</div>
Background color is #1f5965.
Compromise in colors is grey.
- Edi Rama