Hex color #22c406, RGB(34, 196, 6) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #22c406 is a shade of green. In a RGB color space it is composed of 13.33% red, 76.86% green and 2.35% blue. In HSL notation it has 111.2° hue, 94.1% saturation and 39.6% lightness. The process color (CMYK) is combination of 82.65% cyan, 0% magenta, 96.94% yellow and 23.14% key (black). The closest short hexadecimal code of #22c406 is #2c0.
Example CSS code:
.setFontColor { color: #22c406; }
.setBackgroundColor { background-color: #22c406; }
How to set font color?
<p style="color:#22c406">Font color is #22c406.</p>
Font color is #22c406.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#22c406">Background color is #22c406.</div>
Background color is #22c406.
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