Hex color #5818b7, RGB(88, 24, 183) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5818b7 is a shade of blue-magenta. In a RGB color space it is composed of 34.51% red, 9.41% green and 71.76% blue. In HSL notation it has 264.2° hue, 76.8% saturation and 40.6% lightness. The process color (CMYK) is combination of 51.91% cyan, 86.89% magenta, 0% yellow and 28.24% key (black). The closest short hexadecimal code of #5818b7 is #51b.
Example CSS code:
.setFontColor { color: #5818b7; }
.setBackgroundColor { background-color: #5818b7; }
How to set font color?
<p style="color:#5818b7">Font color is #5818b7.</p>
Font color is #5818b7.
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:#5818b7">Background color is #5818b7.</div>
Background color is #5818b7.
Compromise in colors is grey.
- Edi Rama