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