⤺ color picker

#7878f2 Color Hex

Hex color #7878f2, RGB(120, 120, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #7878f2 is a shade of blue. In a RGB color space it is composed of 47.06% red, 47.06% green and 94.9% blue. In HSL notation it has 240° hue, 82.4% saturation and 71% lightness. The process color (CMYK) is combination of 50.41% cyan, 50.41% magenta, 0% yellow and 5.10% key (black). The closest short hexadecimal code of #7878f2 is #77f.

Color information

  • #7878f2 is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50.41%
    • Magenta: 50.41%
    • Yellow: 0%
    • Key color - black: 5.10%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 82.4%
    • Lightness: 71%
  • The values in the RGB color space are:
    • Red: 120 (47.06%)
    • Green: 120 (47.06%)
    • Blue: 242 (94.9%)


C: 50.41%, M: 50.41%, Y: 0%, K: 5.10%
R: 120, G: 120, B: 242
H: 240°, S: 82.4%, L: 71%

Color harmonies

#7878f2 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #7878f2; }
.setBackgroundColor { background-color: #7878f2; }

#7878f2 text/font color

How to set font color?

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

Font color is #7878f2.

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

#7878f2 background color

How to set background color?

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

Background color is #7878f2.

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