Hex color #40af7f, RGB(64, 175, 127) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #40af7f is a shade of green-cyan. In a RGB color space it is composed of 25.1% red, 68.63% green and 49.8% blue. In HSL notation it has 154.1° hue, 46.4% saturation and 46.9% lightness. The process color (CMYK) is combination of 63.43% cyan, 0% magenta, 27.43% yellow and 31.37% key (black). The closest short hexadecimal code of #40af7f is #4a7.
Example CSS code:
.setFontColor { color: #40af7f; }
.setBackgroundColor { background-color: #40af7f; }
How to set font color?
<p style="color:#40af7f">Font color is #40af7f.</p>
Font color is #40af7f.
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
How to set background color?
<div style="background-color:#40af7f">Background color is #40af7f.</div>
Background color is #40af7f.
Compromise in colors is grey.
- Edi Rama