Hex color #9e10cd, RGB(158, 16, 205) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9e10cd is a shade of magenta. In a RGB color space it is composed of 61.96% red, 6.27% green and 80.39% blue. In HSL notation it has 285.1° hue, 85.5% saturation and 43.3% lightness. The process color (CMYK) is combination of 22.93% cyan, 92.20% magenta, 0% yellow and 19.61% key (black). The closest short hexadecimal code of #9e10cd is #91c.
Example CSS code:
.setFontColor { color: #9e10cd; }
.setBackgroundColor { background-color: #9e10cd; }
How to set font color?
<p style="color:#9e10cd">Font color is #9e10cd.</p>
Font color is #9e10cd.
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:#9e10cd">Background color is #9e10cd.</div>
Background color is #9e10cd.
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