Hex color #2d8f0a, RGB(45, 143, 10) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2d8f0a is a shade of green-yellow. In a RGB color space it is composed of 17.65% red, 56.08% green and 3.92% blue. In HSL notation it has 104.2° hue, 86.9% saturation and 30% lightness. The process color (CMYK) is combination of 68.53% cyan, 0% magenta, 93.01% yellow and 43.92% key (black). The closest short hexadecimal code of #2d8f0a is #280.
Example CSS code:
.setFontColor { color: #2d8f0a; }
.setBackgroundColor { background-color: #2d8f0a; }
How to set font color?
<p style="color:#2d8f0a">Font color is #2d8f0a.</p>
Font color is #2d8f0a.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#2d8f0a">Background color is #2d8f0a.</div>
Background color is #2d8f0a.
Compromise in colors is grey.
- Edi Rama