Hex color #a72d51, RGB(167, 45, 81) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #a72d51 is a shade of red-magenta. In a RGB color space it is composed of 65.49% red, 17.65% green and 31.76% blue. In HSL notation it has 342.3° hue, 57.5% saturation and 41.6% lightness. The process color (CMYK) is combination of 0% cyan, 73.05% magenta, 51.50% yellow and 34.51% key (black). The closest short hexadecimal code of #a72d51 is #a25.
Example CSS code:
.setFontColor { color: #a72d51; }
.setBackgroundColor { background-color: #a72d51; }
How to set font color?
<p style="color:#a72d51">Font color is #a72d51.</p>
Font color is #a72d51.
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:#a72d51">Background color is #a72d51.</div>
Background color is #a72d51.
Compromise in colors is grey.
- Edi Rama