Hex color #181f0a, RGB(24, 31, 10) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #181f0a is a shade of green-yellow. In a RGB color space it is composed of 9.41% red, 12.16% green and 3.92% blue. In HSL notation it has 80° hue, 51.2% saturation and 8% lightness. The process color (CMYK) is combination of 22.58% cyan, 0% magenta, 67.74% yellow and 87.84% key (black). The closest short hexadecimal code of #181f0a is #110.
Example CSS code:
.setFontColor { color: #181f0a; }
.setBackgroundColor { background-color: #181f0a; }
How to set font color?
<p style="color:#181f0a">Font color is #181f0a.</p>
Font color is #181f0a.
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
How to set background color?
<div style="background-color:#181f0a">Background color is #181f0a.</div>
Background color is #181f0a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage