Hex color #f796c6, RGB(247, 150, 198) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f796c6 is a shade of red-magenta. In a RGB color space it is composed of 96.86% red, 58.82% green and 77.65% blue. In HSL notation it has 330.3° hue, 85.8% saturation and 77.8% lightness. The process color (CMYK) is combination of 0% cyan, 39.27% magenta, 19.84% yellow and 3.14% key (black). The closest short hexadecimal code of #f796c6 is #f9c.
Example CSS code:
.setFontColor { color: #f796c6; }
.setBackgroundColor { background-color: #f796c6; }
How to set font color?
<p style="color:#f796c6">Font color is #f796c6.</p>
Font color is #f796c6.
Compromise in colors is grey.
- Edi Rama
How to set background color?
<div style="background-color:#f796c6">Background color is #f796c6.</div>
Background color is #f796c6.
Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage