Hex color #f04fa0, RGB(240, 79, 160) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f04fa0 is a shade of red-magenta. In a RGB color space it is composed of 94.12% red, 30.98% green and 62.75% blue. In HSL notation it has 329.8° hue, 84.3% saturation and 62.5% lightness. The process color (CMYK) is combination of 0% cyan, 67.08% magenta, 33.33% yellow and 5.88% key (black). The closest short hexadecimal code of #f04fa0 is #f4a.
Example CSS code:
.setFontColor { color: #f04fa0; }
.setBackgroundColor { background-color: #f04fa0; }
How to set font color?
<p style="color:#f04fa0">Font color is #f04fa0.</p>
Font color is #f04fa0.
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:#f04fa0">Background color is #f04fa0.</div>
Background color is #f04fa0.
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