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