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