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