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