Hex color #310d0d, RGB(49, 13, 13) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #310d0d is a shade of red. In a RGB color space it is composed of 19.22% red, 5.1% green and 5.1% blue. In HSL notation it has 0° hue, 58.1% saturation and 12.2% lightness. The process color (CMYK) is combination of 0% cyan, 73.47% magenta, 73.47% yellow and 80.78% key (black). The closest short hexadecimal code of #310d0d is #300.
Example CSS code:
.setFontColor { color: #310d0d; }
.setBackgroundColor { background-color: #310d0d; }
How to set font color?
<p style="color:#310d0d">Font color is #310d0d.</p>
Font color is #310d0d.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage
How to set background color?
<div style="background-color:#310d0d">Background color is #310d0d.</div>
Background color is #310d0d.
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