Hex color #5d075d, RGB(93, 7, 93) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5d075d is a shade of magenta. In a RGB color space it is composed of 36.47% red, 2.75% green and 36.47% blue. In HSL notation it has 300° hue, 86% saturation and 19.6% lightness. The process color (CMYK) is combination of 0% cyan, 92.47% magenta, 0% yellow and 63.53% key (black). The closest short hexadecimal code of #5d075d is #505.
Example CSS code:
.setFontColor { color: #5d075d; }
.setBackgroundColor { background-color: #5d075d; }
How to set font color?
<p style="color:#5d075d">Font color is #5d075d.</p>
Font color is #5d075d.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#5d075d">Background color is #5d075d.</div>
Background color is #5d075d.
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