⤺ color picker
0
Reddit

#7f00ff Color Hex

Hex color #7f00ff, RGB(127, 0, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.


The hex color code #7f00ff is a shade of blue-magenta. In a RGB color space it is composed of 49.8% red, 0% green and 100% blue. In HSL notation it has 269.9° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 50.20% cyan, 100% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #7f00ff is #70f.

Color information

  • #7f00ff is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 50.20%
    • Magenta: 100%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 269.9° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 127 (49.8%)
    • Green: 0 (0%)
    • Blue: 255 (100%)

Conversions

Hex:
#7f00ff
CMYK:
C: 50.20%, M: 100%, Y: 0%, K: 0%
RGB:
R: 127, G: 0, B: 255
HSL:
H: 269.9°, S: 100%, L: 50%

Color harmonies

#7f00ff color HTML and CSS codes

Example CSS code:

.setFontColor { color: #7f00ff; }
.setBackgroundColor { background-color: #7f00ff; }

#7f00ff text/font color

How to set font color?

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

Font color is #7f00ff.

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

#7f00ff background color

How to set background color?

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

Background color is #7f00ff.

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