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