Hex color #9c1451, RGB(156, 20, 81) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9c1451 is a shade of red-magenta. In a RGB color space it is composed of 61.18% red, 7.84% green and 31.76% blue. In HSL notation it has 333.1° hue, 77.3% saturation and 34.5% lightness. The process color (CMYK) is combination of 0% cyan, 87.18% magenta, 48.08% yellow and 38.82% key (black). The closest short hexadecimal code of #9c1451 is #915.
Example CSS code:
.setFontColor { color: #9c1451; }
.setBackgroundColor { background-color: #9c1451; }
How to set font color?
<p style="color:#9c1451">Font color is #9c1451.</p>
Font color is #9c1451.
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:#9c1451">Background color is #9c1451.</div>
Background color is #9c1451.
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