Hex color #2a0b16, RGB(42, 11, 22) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a0b16 is a shade of red-magenta. In a RGB color space it is composed of 16.47% red, 4.31% green and 8.63% blue. In HSL notation it has 338.7° hue, 58.5% saturation and 10.4% lightness. The process color (CMYK) is combination of 0% cyan, 73.81% magenta, 47.62% yellow and 83.53% key (black). The closest short hexadecimal code of #2a0b16 is #201.
Example CSS code:
.setFontColor { color: #2a0b16; }
.setBackgroundColor { background-color: #2a0b16; }
How to set font color?
<p style="color:#2a0b16">Font color is #2a0b16.</p>
Font color is #2a0b16.
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:#2a0b16">Background color is #2a0b16.</div>
Background color is #2a0b16.
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