Hex color #2e4b3c, RGB(46, 75, 60) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e4b3c is a shade of green-cyan. In a RGB color space it is composed of 18.04% red, 29.41% green and 23.53% blue. In HSL notation it has 149° hue, 24% saturation and 23.7% lightness. The process color (CMYK) is combination of 38.67% cyan, 0% magenta, 20% yellow and 70.59% key (black). The closest short hexadecimal code of #2e4b3c is #243.
Example CSS code:
.setFontColor { color: #2e4b3c; }
.setBackgroundColor { background-color: #2e4b3c; }
How to set font color?
<p style="color:#2e4b3c">Font color is #2e4b3c.</p>
Font color is #2e4b3c.
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:#2e4b3c">Background color is #2e4b3c.</div>
Background color is #2e4b3c.
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