Hex color #f24c4e, RGB(242, 76, 78) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f24c4e is a shade of red. In a RGB color space it is composed of 94.9% red, 29.8% green and 30.59% blue. In HSL notation it has 359.3° hue, 86.5% saturation and 62.4% lightness. The process color (CMYK) is combination of 0% cyan, 68.60% magenta, 67.77% yellow and 5.10% key (black). The closest short hexadecimal code of #f24c4e is #f44.
Example CSS code:
.setFontColor { color: #f24c4e; }
.setBackgroundColor { background-color: #f24c4e; }
How to set font color?
<p style="color:#f24c4e">Font color is #f24c4e.</p>
Font color is #f24c4e.
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:#f24c4e">Background color is #f24c4e.</div>
Background color is #f24c4e.
Compromise in colors is grey.
- Edi Rama