Hex color #2e4f6f, RGB(46, 79, 111) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2e4f6f is a shade of blue-cyan. In a RGB color space it is composed of 18.04% red, 30.98% green and 43.53% blue. In HSL notation it has 209.5° hue, 41.4% saturation and 30.8% lightness. The process color (CMYK) is combination of 58.56% cyan, 28.83% magenta, 0% yellow and 56.47% key (black). The closest short hexadecimal code of #2e4f6f is #246.
Example CSS code:
.setFontColor { color: #2e4f6f; }
.setBackgroundColor { background-color: #2e4f6f; }
How to set font color?
<p style="color:#2e4f6f">Font color is #2e4f6f.</p>
Font color is #2e4f6f.
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:#2e4f6f">Background color is #2e4f6f.</div>
Background color is #2e4f6f.
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