Hex color #822ccd, RGB(130, 44, 205) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #822ccd is a shade of blue-magenta. In a RGB color space it is composed of 50.98% red, 17.25% green and 80.39% blue. In HSL notation it has 272° hue, 64.7% saturation and 48.8% lightness. The process color (CMYK) is combination of 36.59% cyan, 78.54% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #822ccd is #82c.
Example CSS code:
.setFontColor { color: #822ccd; }
.setBackgroundColor { background-color: #822ccd; }
How to set font color?
<p style="color:#822ccd">Font color is #822ccd.</p>
Font color is #822ccd.
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:#822ccd">Background color is #822ccd.</div>
Background color is #822ccd.
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