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