Hex color #f521d6, RGB(245, 33, 214) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #f521d6 is a shade of magenta. In a RGB color space it is composed of 96.08% red, 12.94% green and 83.92% blue. In HSL notation it has 308.8° hue, 91.4% saturation and 54.5% lightness. The process color (CMYK) is combination of 0% cyan, 86.53% magenta, 12.65% yellow and 3.92% key (black). The closest short hexadecimal code of #f521d6 is #f2d.
Example CSS code:
.setFontColor { color: #f521d6; }
.setBackgroundColor { background-color: #f521d6; }
How to set font color?
<p style="color:#f521d6">Font color is #f521d6.</p>
Font color is #f521d6.
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:#f521d6">Background color is #f521d6.</div>
Background color is #f521d6.
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