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