Hex color #1f2d0b, RGB(31, 45, 11) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #1f2d0b is a shade of green-yellow. In a RGB color space it is composed of 12.16% red, 17.65% green and 4.31% blue. In HSL notation it has 84.7° hue, 60.7% saturation and 11% lightness. The process color (CMYK) is combination of 31.11% cyan, 0% magenta, 75.56% yellow and 82.35% key (black). The closest short hexadecimal code of #1f2d0b is #120.
Example CSS code:
.setFontColor { color: #1f2d0b; }
.setBackgroundColor { background-color: #1f2d0b; }
How to set font color?
<p style="color:#1f2d0b">Font color is #1f2d0b.</p>
Font color is #1f2d0b.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#1f2d0b">Background color is #1f2d0b.</div>
Background color is #1f2d0b.
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