Hex color #240b0c, RGB(36, 11, 12) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #240b0c is a shade of red. In a RGB color space it is composed of 14.12% red, 4.31% green and 4.71% blue. In HSL notation it has 357.6° hue, 53.2% saturation and 9.2% lightness. The process color (CMYK) is combination of 0% cyan, 69.44% magenta, 66.67% yellow and 85.88% key (black). The closest short hexadecimal code of #240b0c is #200.
Example CSS code:
.setFontColor { color: #240b0c; }
.setBackgroundColor { background-color: #240b0c; }
How to set font color?
<p style="color:#240b0c">Font color is #240b0c.</p>
Font color is #240b0c.
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:#240b0c">Background color is #240b0c.</div>
Background color is #240b0c.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage