Hex color #5e0af8, RGB(94, 10, 248) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #5e0af8 is a shade of blue-magenta. In a RGB color space it is composed of 36.86% red, 3.92% green and 97.25% blue. In HSL notation it has 261.2° hue, 94.4% saturation and 50.6% lightness. The process color (CMYK) is combination of 62.10% cyan, 95.97% magenta, 0% yellow and 2.75% key (black). The closest short hexadecimal code of #5e0af8 is #50f.
Example CSS code:
.setFontColor { color: #5e0af8; }
.setBackgroundColor { background-color: #5e0af8; }
How to set font color?
<p style="color:#5e0af8">Font color is #5e0af8.</p>
Font color is #5e0af8.
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:#5e0af8">Background color is #5e0af8.</div>
Background color is #5e0af8.
When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant