Hex color #311384, RGB(49, 19, 132) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #311384 is a shade of blue-magenta. In a RGB color space it is composed of 19.22% red, 7.45% green and 51.76% blue. In HSL notation it has 255.9° hue, 74.8% saturation and 29.6% lightness. The process color (CMYK) is combination of 62.88% cyan, 85.61% magenta, 0% yellow and 48.24% key (black). The closest short hexadecimal code of #311384 is #318.
Example CSS code:
.setFontColor { color: #311384; }
.setBackgroundColor { background-color: #311384; }
How to set font color?
<p style="color:#311384">Font color is #311384.</p>
Font color is #311384.
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:#311384">Background color is #311384.</div>
Background color is #311384.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage