Hex color #6c5c98, RGB(108, 92, 152) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #6c5c98 is a shade of blue-magenta. In a RGB color space it is composed of 42.35% red, 36.08% green and 59.61% blue. In HSL notation it has 256° hue, 24.6% saturation and 47.8% lightness. The process color (CMYK) is combination of 28.95% cyan, 39.47% magenta, 0% yellow and 40.39% key (black). The closest short hexadecimal code of #6c5c98 is #659.
Example CSS code:
.setFontColor { color: #6c5c98; }
.setBackgroundColor { background-color: #6c5c98; }
How to set font color?
<p style="color:#6c5c98">Font color is #6c5c98.</p>
Font color is #6c5c98.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#6c5c98">Background color is #6c5c98.</div>
Background color is #6c5c98.
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