Hex color #1f8156, RGB(31, 129, 86) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f8156 is a shade of green-cyan. In a RGB color space it is composed of 12.16% red, 50.59% green and 33.73% blue. In HSL notation it has 153.7° hue, 61.2% saturation and 31.4% lightness. The process color (CMYK) is combination of 75.97% cyan, 0% magenta, 33.33% yellow and 49.41% key (black). The closest short hexadecimal code of #1f8156 is #185.
Example CSS code:
.setFontColor { color: #1f8156; }
.setBackgroundColor { background-color: #1f8156; }
How to set font color?
<p style="color:#1f8156">Font color is #1f8156.</p>
Font color is #1f8156.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#1f8156">Background color is #1f8156.</div>
Background color is #1f8156.
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