Hex color #7912e3, RGB(121, 18, 227) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7912e3 is a shade of blue-magenta. In a RGB color space it is composed of 47.45% red, 7.06% green and 89.02% blue. In HSL notation it has 269.6° hue, 85.3% saturation and 48% lightness. The process color (CMYK) is combination of 46.70% cyan, 92.07% magenta, 0% yellow and 10.98% key (black). The closest short hexadecimal code of #7912e3 is #71e.
Example CSS code:
.setFontColor { color: #7912e3; }
.setBackgroundColor { background-color: #7912e3; }
How to set font color?
<p style="color:#7912e3">Font color is #7912e3.</p>
Font color is #7912e3.
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:#7912e3">Background color is #7912e3.</div>
Background color is #7912e3.
Compromise in colors is grey.
- Edi Rama