Hex color #f12f12, RGB(241, 47, 18) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f12f12 is a shade of red. In a RGB color space it is composed of 94.51% red, 18.43% green and 7.06% blue. In HSL notation it has 7.8° hue, 88.8% saturation and 50.8% lightness. The process color (CMYK) is combination of 0% cyan, 80.50% magenta, 92.53% yellow and 5.49% key (black). The closest short hexadecimal code of #f12f12 is #f21.
Example CSS code:
.setFontColor { color: #f12f12; }
.setBackgroundColor { background-color: #f12f12; }
How to set font color?
<p style="color:#f12f12">Font color is #f12f12.</p>
Font color is #f12f12.
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:#f12f12">Background color is #f12f12.</div>
Background color is #f12f12.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage