Hex color #940c1c, RGB(148, 12, 28) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #940c1c is a shade of red. In a RGB color space it is composed of 58.04% red, 4.71% green and 10.98% blue. In HSL notation it has 352.9° hue, 85% saturation and 31.4% lightness. The process color (CMYK) is combination of 0% cyan, 91.89% magenta, 81.08% yellow and 41.96% key (black). The closest short hexadecimal code of #940c1c is #901.
Example CSS code:
.setFontColor { color: #940c1c; }
.setBackgroundColor { background-color: #940c1c; }
How to set font color?
<p style="color:#940c1c">Font color is #940c1c.</p>
Font color is #940c1c.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#940c1c">Background color is #940c1c.</div>
Background color is #940c1c.
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