⤺ color picker
0
Reddit

#df21f5 Color Hex

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.

Color information

  • #df21f5 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 8.98%
    • Magenta: 86.53%
    • Yellow: 0%
    • Key color - black: 3.92%
  • In the HSL model coordinates are:
    • Hue: 293.8° degrees
    • Saturation: 91.4%
    • Lightness: 54.5%
  • The values in the RGB color space are:
    • Red: 223 (87.45%)
    • Green: 33 (12.94%)
    • Blue: 245 (96.08%)

Conversions

Hex:
#df21f5
CMYK:
C: 8.98%, M: 86.53%, Y: 0%, K: 3.92%
RGB:
R: 223, G: 33, B: 245
HSL:
H: 293.8°, S: 91.4%, L: 54.5%

Color harmonies

#df21f5 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #df21f5; }
.setBackgroundColor { background-color: #df21f5; }

#df21f5 text/font color

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

#df21f5 background color

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