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