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