Hex color #4e1184, RGB(78, 17, 132) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #4e1184 is a shade of blue-magenta. In a RGB color space it is composed of 30.59% red, 6.67% green and 51.76% blue. In HSL notation it has 271.8° hue, 77.2% saturation and 29.2% lightness. The process color (CMYK) is combination of 40.91% cyan, 87.12% magenta, 0% yellow and 48.24% key (black). The closest short hexadecimal code of #4e1184 is #418.
Example CSS code:
.setFontColor { color: #4e1184; }
.setBackgroundColor { background-color: #4e1184; }
How to set font color?
<p style="color:#4e1184">Font color is #4e1184.</p>
Font color is #4e1184.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#4e1184">Background color is #4e1184.</div>
Background color is #4e1184.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage