Hex color #1f4239, RGB(31, 66, 57) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f4239 is a shade of green-cyan. In a RGB color space it is composed of 12.16% red, 25.88% green and 22.35% blue. In HSL notation it has 164.6° hue, 36.1% saturation and 19% lightness. The process color (CMYK) is combination of 53.03% cyan, 0% magenta, 13.64% yellow and 74.12% key (black). The closest short hexadecimal code of #1f4239 is #143.
Example CSS code:
.setFontColor { color: #1f4239; }
.setBackgroundColor { background-color: #1f4239; }
How to set font color?
<p style="color:#1f4239">Font color is #1f4239.</p>
Font color is #1f4239.
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:#1f4239">Background color is #1f4239.</div>
Background color is #1f4239.
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