Hex color #2f4f4f, RGB(47, 79, 79) - also known as dark slate gray - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f4f4f is a shade of cyan. In a RGB color space it is composed of 18.43% red, 30.98% green and 30.98% blue. In HSL notation it has 180° hue, 25.4% saturation and 24.7% lightness. The process color (CMYK) is combination of 40.51% cyan, 0% magenta, 0% yellow and 69.02% key (black). The closest short hexadecimal code of #2f4f4f is #244.
Example CSS code:
.setFontColor { color: #2f4f4f; }
.setBackgroundColor { background-color: #2f4f4f; }
How to set font color?
<p style="color:#2f4f4f">Font color is #2f4f4f.</p>
Font color is #2f4f4f.
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:#2f4f4f">Background color is #2f4f4f.</div>
Background color is #2f4f4f.
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