Hex color #228b00, RGB(34, 139, 0) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #228b00 is a shade of green. In a RGB color space it is composed of 13.33% red, 54.51% green and 0% blue. In HSL notation it has 105.3° hue, 100% saturation and 27.3% lightness. The process color (CMYK) is combination of 75.54% cyan, 0% magenta, 100% yellow and 45.49% key (black). The closest short hexadecimal code of #228b00 is #280.
Example CSS code:
.setFontColor { color: #228b00; }
.setBackgroundColor { background-color: #228b00; }
How to set font color?
<p style="color:#228b00">Font color is #228b00.</p>
Font color is #228b00.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#228b00">Background color is #228b00.</div>
Background color is #228b00.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage