Hex color #3a0f1d, RGB(58, 15, 29) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #3a0f1d is a shade of red-magenta. In a RGB color space it is composed of 22.75% red, 5.88% green and 11.37% blue. In HSL notation it has 340.5° hue, 58.9% saturation and 14.3% lightness. The process color (CMYK) is combination of 0% cyan, 74.14% magenta, 50% yellow and 77.25% key (black). The closest short hexadecimal code of #3a0f1d is #301.
Example CSS code:
.setFontColor { color: #3a0f1d; }
.setBackgroundColor { background-color: #3a0f1d; }
How to set font color?
<p style="color:#3a0f1d">Font color is #3a0f1d.</p>
Font color is #3a0f1d.
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:#3a0f1d">Background color is #3a0f1d.</div>
Background color is #3a0f1d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage