Hex color #008c00, RGB(0, 140, 0) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #008c00 is a shade of green. In a RGB color space it is composed of 0% red, 54.9% green and 0% blue. In HSL notation it has 120° hue, 100% saturation and 27.5% lightness. The process color (CMYK) is combination of 100% cyan, 0% magenta, 100% yellow and 45.10% key (black). The closest short hexadecimal code of #008c00 is #080.
Example CSS code:
.setFontColor { color: #008c00; }
.setBackgroundColor { background-color: #008c00; }
How to set font color?
<p style="color:#008c00">Font color is #008c00.</p>
Font color is #008c00.
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:#008c00">Background color is #008c00.</div>
Background color is #008c00.
Compromise in colors is grey.
- Edi Rama