Hex color #f8525c, RGB(248, 82, 92) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f8525c is a shade of red. In a RGB color space it is composed of 97.25% red, 32.16% green and 36.08% blue. In HSL notation it has 356.4° hue, 92.2% saturation and 64.7% lightness. The process color (CMYK) is combination of 0% cyan, 66.94% magenta, 62.90% yellow and 2.75% key (black). The closest short hexadecimal code of #f8525c is #f55.
Example CSS code:
.setFontColor { color: #f8525c; }
.setBackgroundColor { background-color: #f8525c; }
How to set font color?
<p style="color:#f8525c">Font color is #f8525c.</p>
Font color is #f8525c.
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:#f8525c">Background color is #f8525c.</div>
Background color is #f8525c.
Compromise in colors is grey.
- Edi Rama