Hex color #51129d, RGB(81, 18, 157) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #51129d is a shade of blue-magenta. In a RGB color space it is composed of 31.76% red, 7.06% green and 61.57% blue. In HSL notation it has 267.2° hue, 79.4% saturation and 34.3% lightness. The process color (CMYK) is combination of 48.41% cyan, 88.54% magenta, 0% yellow and 38.43% key (black). The closest short hexadecimal code of #51129d is #519.
Example CSS code:
.setFontColor { color: #51129d; }
.setBackgroundColor { background-color: #51129d; }
How to set font color?
<p style="color:#51129d">Font color is #51129d.</p>
Font color is #51129d.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#51129d">Background color is #51129d.</div>
Background color is #51129d.
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