Hex color #9a4d4d, RGB(154, 77, 77) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #9a4d4d is a shade of red. In a RGB color space it is composed of 60.39% red, 30.2% green and 30.2% blue. In HSL notation it has 0° hue, 33.3% saturation and 45.3% lightness. The process color (CMYK) is combination of 0% cyan, 50% magenta, 50% yellow and 39.61% key (black). The closest short hexadecimal code of #9a4d4d is #944.
Example CSS code:
.setFontColor { color: #9a4d4d; }
.setBackgroundColor { background-color: #9a4d4d; }
How to set font color?
<p style="color:#9a4d4d">Font color is #9a4d4d.</p>
Font color is #9a4d4d.
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
How to set background color?
<div style="background-color:#9a4d4d">Background color is #9a4d4d.</div>
Background color is #9a4d4d.
Compromise in colors is grey.
- Edi Rama