⤺ color picker

#ff7aff Color Hex

Hex color #ff7aff, RGB(255, 122, 255) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #ff7aff is a shade of magenta. In a RGB color space it is composed of 100% red, 47.84% green and 100% blue. In HSL notation it has 300° hue, 100% saturation and 73.9% lightness. The process color (CMYK) is combination of 0% cyan, 52.16% magenta, 0% yellow and 0% key (black). The closest short hexadecimal code of #ff7aff is #f7f.

Color information

  • #ff7aff is a shade of magenta.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 52.16%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 300° degrees
    • Saturation: 100%
    • Lightness: 73.9%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 122 (47.84%)
    • Blue: 255 (100%)


C: 0%, M: 52.16%, Y: 0%, K: 0%
R: 255, G: 122, B: 255
H: 300°, S: 100%, L: 73.9%

Color harmonies

#ff7aff color HTML and CSS codes

Example CSS code:

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

#ff7aff text/font color

How to set font color?

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

Font color is #ff7aff.

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

#ff7aff background color

How to set background color?

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

Background color is #ff7aff.

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