Hex color #520640, RGB(82, 6, 64) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #520640 is a shade of magenta. In a RGB color space it is composed of 32.16% red, 2.35% green and 25.1% blue. In HSL notation it has 314.2° hue, 86.4% saturation and 17.3% lightness. The process color (CMYK) is combination of 0% cyan, 92.68% magenta, 21.95% yellow and 67.84% key (black). The closest short hexadecimal code of #520640 is #504.
Example CSS code:
.setFontColor { color: #520640; }
.setBackgroundColor { background-color: #520640; }
How to set font color?
<p style="color:#520640">Font color is #520640.</p>
Font color is #520640.
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:#520640">Background color is #520640.</div>
Background color is #520640.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage