Hex color #f05252, RGB(240, 82, 82) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f05252 is a shade of red. In a RGB color space it is composed of 94.12% red, 32.16% green and 32.16% blue. In HSL notation it has 0° hue, 84% saturation and 63.1% lightness. The process color (CMYK) is combination of 0% cyan, 65.83% magenta, 65.83% yellow and 5.88% key (black). The closest short hexadecimal code of #f05252 is #f55.
Example CSS code:
.setFontColor { color: #f05252; }
.setBackgroundColor { background-color: #f05252; }
How to set font color?
<p style="color:#f05252">Font color is #f05252.</p>
Font color is #f05252.
Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything.
Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore
How to set background color?
<div style="background-color:#f05252">Background color is #f05252.</div>
Background color is #f05252.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage