Hex color #f26c6c, RGB(242, 108, 108) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f26c6c is a shade of red. In a RGB color space it is composed of 94.9% red, 42.35% green and 42.35% blue. In HSL notation it has 0° hue, 83.8% saturation and 68.6% lightness. The process color (CMYK) is combination of 0% cyan, 55.37% magenta, 55.37% yellow and 5.10% key (black). The closest short hexadecimal code of #f26c6c is #f66.
Example CSS code:
.setFontColor { color: #f26c6c; }
.setBackgroundColor { background-color: #f26c6c; }
How to set font color?
<p style="color:#f26c6c">Font color is #f26c6c.</p>
Font color is #f26c6c.
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:#f26c6c">Background color is #f26c6c.</div>
Background color is #f26c6c.
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