⤺ color picker
0
Reddit

#6d42e4 Color Hex

Hex color #6d42e4, RGB(109, 66, 228) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #6d42e4 is a shade of blue-magenta. In a RGB color space it is composed of 42.75% red, 25.88% green and 89.41% blue. In HSL notation it has 255.9° hue, 75% saturation and 57.6% lightness. The process color (CMYK) is combination of 52.19% cyan, 71.05% magenta, 0% yellow and 10.59% key (black). The closest short hexadecimal code of #6d42e4 is #64e.

Color information

  • #6d42e4 is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 52.19%
    • Magenta: 71.05%
    • Yellow: 0%
    • Key color - black: 10.59%
  • In the HSL model coordinates are:
    • Hue: 255.9° degrees
    • Saturation: 75%
    • Lightness: 57.6%
  • The values in the RGB color space are:
    • Red: 109 (42.75%)
    • Green: 66 (25.88%)
    • Blue: 228 (89.41%)

Conversions

Hex:
#6d42e4
CMYK:
C: 52.19%, M: 71.05%, Y: 0%, K: 10.59%
RGB:
R: 109, G: 66, B: 228
HSL:
H: 255.9°, S: 75%, L: 57.6%

Color harmonies

#6d42e4 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #6d42e4; }
.setBackgroundColor { background-color: #6d42e4; }

#6d42e4 text/font color

How to set font color?

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

Font color is #6d42e4.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#6d42e4 background color

How to set background color?

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

Background color is #6d42e4.

Compromise in colors is grey.
- Edi Rama