Hex color #504eac, RGB(80, 78, 172) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #504eac is a shade of blue. In a RGB color space it is composed of 31.37% red, 30.59% green and 67.45% blue. In HSL notation it has 241.3° hue, 37.6% saturation and 49% lightness. The process color (CMYK) is combination of 53.49% cyan, 54.65% magenta, 0% yellow and 32.55% key (black). The closest short hexadecimal code of #504eac is #54a.
Example CSS code:
.setFontColor { color: #504eac; }
.setBackgroundColor { background-color: #504eac; }
How to set font color?
<p style="color:#504eac">Font color is #504eac.</p>
Font color is #504eac.
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:#504eac">Background color is #504eac.</div>
Background color is #504eac.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage