⤺ color picker
0
Reddit

#c28cf7 Color Hex

Hex color #c28cf7, RGB(194, 140, 247) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #c28cf7 is a shade of blue-magenta. In a RGB color space it is composed of 76.08% red, 54.9% green and 96.86% blue. In HSL notation it has 270.3° hue, 87% saturation and 75.9% lightness. The process color (CMYK) is combination of 21.46% cyan, 43.32% magenta, 0% yellow and 3.14% key (black). The closest short hexadecimal code of #c28cf7 is #c8f.

Color information

  • #c28cf7 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 21.46%
    • Magenta: 43.32%
    • Yellow: 0%
    • Key color - black: 3.14%
  • In the HSL model coordinates are:
    • Hue: 270.3° degrees
    • Saturation: 87%
    • Lightness: 75.9%
  • The values in the RGB color space are:
    • Red: 194 (76.08%)
    • Green: 140 (54.9%)
    • Blue: 247 (96.86%)

Conversions

Hex:
#c28cf7
CMYK:
C: 21.46%, M: 43.32%, Y: 0%, K: 3.14%
RGB:
R: 194, G: 140, B: 247
HSL:
H: 270.3°, S: 87%, L: 75.9%

Color harmonies

#c28cf7 color HTML and CSS codes

Example CSS code:

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

#c28cf7 text/font color

How to set font color?

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

Font color is #c28cf7.

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

#c28cf7 background color

How to set background color?

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

Background color is #c28cf7.

Compromise in colors is grey.
- Edi Rama