⤺ color picker
0
Reddit

#dc98f0 Color Hex

Hex color #dc98f0, RGB(220, 152, 240) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #dc98f0 is a shade of magenta. In a RGB color space it is composed of 86.27% red, 59.61% green and 94.12% blue. In HSL notation it has 286.4° hue, 74.6% saturation and 76.9% lightness. The process color (CMYK) is combination of 8.33% cyan, 36.67% magenta, 0% yellow and 5.88% key (black). The closest short hexadecimal code of #dc98f0 is #d9f.

Color information

  • #dc98f0 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 8.33%
    • Magenta: 36.67%
    • Yellow: 0%
    • Key color - black: 5.88%
  • In the HSL model coordinates are:
    • Hue: 286.4° degrees
    • Saturation: 74.6%
    • Lightness: 76.9%
  • The values in the RGB color space are:
    • Red: 220 (86.27%)
    • Green: 152 (59.61%)
    • Blue: 240 (94.12%)

Conversions

Hex:
#dc98f0
CMYK:
C: 8.33%, M: 36.67%, Y: 0%, K: 5.88%
RGB:
R: 220, G: 152, B: 240
HSL:
H: 286.4°, S: 74.6%, L: 76.9%

Color harmonies

#dc98f0 color HTML and CSS codes

Example CSS code:

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

#dc98f0 text/font color

How to set font color?

<p style="color:#dc98f0">Font color is #dc98f0.</p>

Font color is #dc98f0.

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

#dc98f0 background color

How to set background color?

<div style="background-color:#dc98f0">Background color is #dc98f0.</div>

Background color is #dc98f0.

Compromise in colors is grey.
- Edi Rama