Hex color #9841ef, RGB(152, 65, 239) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9841ef is a shade of blue-magenta. In a RGB color space it is composed of 59.61% red, 25.49% green and 93.73% blue. In HSL notation it has 270° hue, 84.5% saturation and 59.6% lightness. The process color (CMYK) is combination of 36.40% cyan, 72.80% magenta, 0% yellow and 6.27% key (black). The closest short hexadecimal code of #9841ef is #94e.
Example CSS code:
.setFontColor { color: #9841ef; }
.setBackgroundColor { background-color: #9841ef; }
How to set font color?
<p style="color:#9841ef">Font color is #9841ef.</p>
Font color is #9841ef.
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:#9841ef">Background color is #9841ef.</div>
Background color is #9841ef.
Compromise in colors is grey.
- Edi Rama