Hex color #5a1f64, RGB(90, 31, 100) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5a1f64 is a shade of magenta. In a RGB color space it is composed of 35.29% red, 12.16% green and 39.22% blue. In HSL notation it has 291.3° hue, 52.7% saturation and 25.7% lightness. The process color (CMYK) is combination of 10.00% cyan, 69% magenta, 0% yellow and 60.78% key (black). The closest short hexadecimal code of #5a1f64 is #516.
Example CSS code:
.setFontColor { color: #5a1f64; }
.setBackgroundColor { background-color: #5a1f64; }
How to set font color?
<p style="color:#5a1f64">Font color is #5a1f64.</p>
Font color is #5a1f64.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#5a1f64">Background color is #5a1f64.</div>
Background color is #5a1f64.
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