Hex color #8c22d5, RGB(140, 34, 213) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8c22d5 is a shade of blue-magenta. In a RGB color space it is composed of 54.9% red, 13.33% green and 83.53% blue. In HSL notation it has 275.5° hue, 72.5% saturation and 48.4% lightness. The process color (CMYK) is combination of 34.27% cyan, 84.04% magenta, 0% yellow and 16.47% key (black). The closest short hexadecimal code of #8c22d5 is #82d.
Example CSS code:
.setFontColor { color: #8c22d5; }
.setBackgroundColor { background-color: #8c22d5; }
How to set font color?
<p style="color:#8c22d5">Font color is #8c22d5.</p>
Font color is #8c22d5.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#8c22d5">Background color is #8c22d5.</div>
Background color is #8c22d5.
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