Hex color #2f5e5e, RGB(47, 94, 94) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2f5e5e is a shade of cyan. In a RGB color space it is composed of 18.43% red, 36.86% green and 36.86% blue. In HSL notation it has 180° hue, 33.3% saturation and 27.6% lightness. The process color (CMYK) is combination of 50% cyan, 0% magenta, 0% yellow and 63.14% key (black). The closest short hexadecimal code of #2f5e5e is #255.
Example CSS code:
.setFontColor { color: #2f5e5e; }
.setBackgroundColor { background-color: #2f5e5e; }
How to set font color?
<p style="color:#2f5e5e">Font color is #2f5e5e.</p>
Font color is #2f5e5e.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#2f5e5e">Background color is #2f5e5e.</div>
Background color is #2f5e5e.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage