Hex color #662587, RGB(102, 37, 135) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #662587 is a shade of blue-magenta. In a RGB color space it is composed of 40% red, 14.51% green and 52.94% blue. In HSL notation it has 279.8° hue, 57% saturation and 33.7% lightness. The process color (CMYK) is combination of 24.44% cyan, 72.59% magenta, 0% yellow and 47.06% key (black). The closest short hexadecimal code of #662587 is #628.
Example CSS code:
.setFontColor { color: #662587; }
.setBackgroundColor { background-color: #662587; }
How to set font color?
<p style="color:#662587">Font color is #662587.</p>
Font color is #662587.
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
How to set background color?
<div style="background-color:#662587">Background color is #662587.</div>
Background color is #662587.
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