Hex color #042806, RGB(4, 40, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #042806 is a shade of green. In a RGB color space it is composed of 1.57% red, 15.69% green and 2.35% blue. In HSL notation it has 123.3° hue, 81.8% saturation and 8.6% lightness. The process color (CMYK) is combination of 90% cyan, 0% magenta, 85% yellow and 84.31% key (black). The closest short hexadecimal code of #042806 is #020.
Example CSS code:
.setFontColor { color: #042806; }
.setBackgroundColor { background-color: #042806; }
How to set font color?
<p style="color:#042806">Font color is #042806.</p>
Font color is #042806.
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:#042806">Background color is #042806.</div>
Background color is #042806.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage