Hex color #391f81, RGB(57, 31, 129) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #391f81 is a shade of blue-magenta. In a RGB color space it is composed of 22.35% red, 12.16% green and 50.59% blue. In HSL notation it has 255.9° hue, 61.2% saturation and 31.4% lightness. The process color (CMYK) is combination of 55.81% cyan, 75.97% magenta, 0% yellow and 49.41% key (black). The closest short hexadecimal code of #391f81 is #318.
Example CSS code:
.setFontColor { color: #391f81; }
.setBackgroundColor { background-color: #391f81; }
How to set font color?
<p style="color:#391f81">Font color is #391f81.</p>
Font color is #391f81.
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:#391f81">Background color is #391f81.</div>
Background color is #391f81.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage