Hex color #945cfa, RGB(148, 92, 250) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #945cfa is a shade of blue-magenta. In a RGB color space it is composed of 58.04% red, 36.08% green and 98.04% blue. In HSL notation it has 261.3° hue, 94% saturation and 67.1% lightness. The process color (CMYK) is combination of 40.8% cyan, 63.2% magenta, 0% yellow and 1.96% key (black). The closest short hexadecimal code of #945cfa is #95f.
Example CSS code:
.setFontColor { color: #945cfa; }
.setBackgroundColor { background-color: #945cfa; }
How to set font color?
<p style="color:#945cfa">Font color is #945cfa.</p>
Font color is #945cfa.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#945cfa">Background color is #945cfa.</div>
Background color is #945cfa.
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