Hex color #840a48, RGB(132, 10, 72) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #840a48 is a shade of red-magenta. In a RGB color space it is composed of 51.76% red, 3.92% green and 28.24% blue. In HSL notation it has 329.5° hue, 85.9% saturation and 27.8% lightness. The process color (CMYK) is combination of 0% cyan, 92.42% magenta, 45.45% yellow and 48.24% key (black). The closest short hexadecimal code of #840a48 is #804.
Example CSS code:
.setFontColor { color: #840a48; }
.setBackgroundColor { background-color: #840a48; }
How to set font color?
<p style="color:#840a48">Font color is #840a48.</p>
Font color is #840a48.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#840a48">Background color is #840a48.</div>
Background color is #840a48.
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