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