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