Hex color #4e6798, RGB(78, 103, 152) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4e6798 is a shade of blue-cyan. In a RGB color space it is composed of 30.59% red, 40.39% green and 59.61% blue. In HSL notation it has 219.7° hue, 32.2% saturation and 45.1% lightness. The process color (CMYK) is combination of 48.68% cyan, 32.24% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #4e6798 is #469.
Example CSS code:
.setFontColor { color: #4e6798; }
.setBackgroundColor { background-color: #4e6798; }
How to set font color?
<p style="color:#4e6798">Font color is #4e6798.</p>
Font color is #4e6798.
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:#4e6798">Background color is #4e6798.</div>
Background color is #4e6798.
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