Hex color #5f6f2e, RGB(95, 111, 46) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5f6f2e is a shade of yellow. In a RGB color space it is composed of 37.25% red, 43.53% green and 18.04% blue. In HSL notation it has 74.8° hue, 41.4% saturation and 30.8% lightness. The process color (CMYK) is combination of 14.41% cyan, 0% magenta, 58.56% yellow and 56.47% key (black). The closest short hexadecimal code of #5f6f2e is #562.
Example CSS code:
.setFontColor { color: #5f6f2e; }
.setBackgroundColor { background-color: #5f6f2e; }
How to set font color?
<p style="color:#5f6f2e">Font color is #5f6f2e.</p>
Font color is #5f6f2e.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5f6f2e">Background color is #5f6f2e.</div>
Background color is #5f6f2e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage