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