Hex color #9d45cd, RGB(157, 69, 205) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9d45cd is a shade of blue-magenta. In a RGB color space it is composed of 61.57% red, 27.06% green and 80.39% blue. In HSL notation it has 278.8° hue, 57.6% saturation and 53.7% lightness. The process color (CMYK) is combination of 23.41% cyan, 66.34% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #9d45cd is #94c.
Example CSS code:
.setFontColor { color: #9d45cd; }
.setBackgroundColor { background-color: #9d45cd; }
How to set font color?
<p style="color:#9d45cd">Font color is #9d45cd.</p>
Font color is #9d45cd.
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:#9d45cd">Background color is #9d45cd.</div>
Background color is #9d45cd.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage