Hex color #940b0b, RGB(148, 11, 11) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #940b0b is a shade of red. In a RGB color space it is composed of 58.04% red, 4.31% green and 4.31% blue. In HSL notation it has 0° hue, 86.2% saturation and 31.2% lightness. The process color (CMYK) is combination of 0% cyan, 92.57% magenta, 92.57% yellow and 41.96% key (black). The closest short hexadecimal code of #940b0b is #900.
Example CSS code:
.setFontColor { color: #940b0b; }
.setBackgroundColor { background-color: #940b0b; }
How to set font color?
<p style="color:#940b0b">Font color is #940b0b.</p>
Font color is #940b0b.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#940b0b">Background color is #940b0b.</div>
Background color is #940b0b.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage