Hex color #2a0724, RGB(42, 7, 36) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #2a0724 is a shade of magenta. In a RGB color space it is composed of 16.47% red, 2.75% green and 14.12% blue. In HSL notation it has 310.3° hue, 71.4% saturation and 9.6% lightness. The process color (CMYK) is combination of 0% cyan, 83.33% magenta, 14.29% yellow and 83.53% key (black). The closest short hexadecimal code of #2a0724 is #202.
Example CSS code:
.setFontColor { color: #2a0724; }
.setBackgroundColor { background-color: #2a0724; }
How to set font color?
<p style="color:#2a0724">Font color is #2a0724.</p>
Font color is #2a0724.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#2a0724">Background color is #2a0724.</div>
Background color is #2a0724.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage