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