Hex color #8c0a32, RGB(140, 10, 50) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #8c0a32 is a shade of red-magenta. In a RGB color space it is composed of 54.9% red, 3.92% green and 19.61% blue. In HSL notation it has 341.5° hue, 86.7% saturation and 29.4% lightness. The process color (CMYK) is combination of 0% cyan, 92.86% magenta, 64.29% yellow and 45.10% key (black). The closest short hexadecimal code of #8c0a32 is #803.
Example CSS code:
.setFontColor { color: #8c0a32; }
.setBackgroundColor { background-color: #8c0a32; }
How to set font color?
<p style="color:#8c0a32">Font color is #8c0a32.</p>
Font color is #8c0a32.
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:#8c0a32">Background color is #8c0a32.</div>
Background color is #8c0a32.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage