Hex color #1f2718, RGB(31, 39, 24) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f2718 is a shade of green-yellow. In a RGB color space it is composed of 12.16% red, 15.29% green and 9.41% blue. In HSL notation it has 92° hue, 23.8% saturation and 12.4% lightness. The process color (CMYK) is combination of 20.51% cyan, 0% magenta, 38.46% yellow and 84.71% key (black). The closest short hexadecimal code of #1f2718 is #121.
Example CSS code:
.setFontColor { color: #1f2718; }
.setBackgroundColor { background-color: #1f2718; }
How to set font color?
<p style="color:#1f2718">Font color is #1f2718.</p>
Font color is #1f2718.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#1f2718">Background color is #1f2718.</div>
Background color is #1f2718.
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