Hex color #7a0fa2, RGB(122, 15, 162) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7a0fa2 is a shade of blue-magenta. In a RGB color space it is composed of 47.84% red, 5.88% green and 63.53% blue. In HSL notation it has 283.7° hue, 83.1% saturation and 34.7% lightness. The process color (CMYK) is combination of 24.69% cyan, 90.74% magenta, 0% yellow and 36.47% key (black). The closest short hexadecimal code of #7a0fa2 is #70a.
Example CSS code:
.setFontColor { color: #7a0fa2; }
.setBackgroundColor { background-color: #7a0fa2; }
How to set font color?
<p style="color:#7a0fa2">Font color is #7a0fa2.</p>
Font color is #7a0fa2.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#7a0fa2">Background color is #7a0fa2.</div>
Background color is #7a0fa2.
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