Hex color #7c274a, RGB(124, 39, 74) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #7c274a is a shade of red-magenta. In a RGB color space it is composed of 48.63% red, 15.29% green and 29.02% blue. In HSL notation it has 335.3° hue, 52.1% saturation and 32% lightness. The process color (CMYK) is combination of 0% cyan, 68.55% magenta, 40.32% yellow and 51.37% key (black). The closest short hexadecimal code of #7c274a is #724.
Example CSS code:
.setFontColor { color: #7c274a; }
.setBackgroundColor { background-color: #7c274a; }
How to set font color?
<p style="color:#7c274a">Font color is #7c274a.</p>
Font color is #7c274a.
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:#7c274a">Background color is #7c274a.</div>
Background color is #7c274a.
Compromise in colors is grey.
- Edi Rama