Hex color #0a2e06, RGB(10, 46, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #0a2e06 is a shade of green. In a RGB color space it is composed of 3.92% red, 18.04% green and 2.35% blue. In HSL notation it has 114° hue, 76.9% saturation and 10.2% lightness. The process color (CMYK) is combination of 78.26% cyan, 0% magenta, 86.96% yellow and 81.96% key (black). The closest short hexadecimal code of #0a2e06 is #020.
Example CSS code:
.setFontColor { color: #0a2e06; }
.setBackgroundColor { background-color: #0a2e06; }
How to set font color?
<p style="color:#0a2e06">Font color is #0a2e06.</p>
Font color is #0a2e06.
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:#0a2e06">Background color is #0a2e06.</div>
Background color is #0a2e06.
Compromise in colors is grey.
- Edi Rama