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