Hex color #5f2063, RGB(95, 32, 99) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5f2063 is a shade of magenta. In a RGB color space it is composed of 37.25% red, 12.55% green and 38.82% blue. In HSL notation it has 296.4° hue, 51.1% saturation and 25.7% lightness. The process color (CMYK) is combination of 4.04% cyan, 67.68% magenta, 0% yellow and 61.18% key (black). The closest short hexadecimal code of #5f2063 is #526.
Example CSS code:
.setFontColor { color: #5f2063; }
.setBackgroundColor { background-color: #5f2063; }
How to set font color?
<p style="color:#5f2063">Font color is #5f2063.</p>
Font color is #5f2063.
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:#5f2063">Background color is #5f2063.</div>
Background color is #5f2063.
Compromise in colors is grey.
- Edi Rama