Hex color #5816b6, RGB(88, 22, 182) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5816b6 is a shade of blue-magenta. In a RGB color space it is composed of 34.51% red, 8.63% green and 71.37% blue. In HSL notation it has 264.8° hue, 78.4% saturation and 40% lightness. The process color (CMYK) is combination of 51.65% cyan, 87.91% magenta, 0% yellow and 28.63% key (black). The closest short hexadecimal code of #5816b6 is #51b.
Example CSS code:
.setFontColor { color: #5816b6; }
.setBackgroundColor { background-color: #5816b6; }
How to set font color?
<p style="color:#5816b6">Font color is #5816b6.</p>
Font color is #5816b6.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#5816b6">Background color is #5816b6.</div>
Background color is #5816b6.
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