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