⤺ color picker

#f5f2f6 Color Hex

Hex color #f5f2f6, RGB(245, 242, 246) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #f5f2f6 is a shade of magenta. In a RGB color space it is composed of 96.08% red, 94.9% green and 96.47% blue. In HSL notation it has 285° hue, 18.2% saturation and 95.7% lightness. The process color (CMYK) is combination of 0.41% cyan, 1.63% magenta, 0% yellow and 3.53% key (black). The closest short hexadecimal code of #f5f2f6 is #fff.

Color information

  • #f5f2f6 is a shade of magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0.41%
    • Magenta: 1.63%
    • Yellow: 0%
    • Key color - black: 3.53%
  • In the HSL model coordinates are:
    • Hue: 285° degrees
    • Saturation: 18.2%
    • Lightness: 95.7%
  • The values in the RGB color space are:
    • Red: 245 (96.08%)
    • Green: 242 (94.9%)
    • Blue: 246 (96.47%)


C: 0.41%, M: 1.63%, Y: 0%, K: 3.53%
R: 245, G: 242, B: 246
H: 285°, S: 18.2%, L: 95.7%

Color harmonies

#f5f2f6 color HTML and CSS codes

Example CSS code:

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

#f5f2f6 text/font color

How to set font color?

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

Font color is #f5f2f6.

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

#f5f2f6 background color

How to set background color?

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

Background color is #f5f2f6.

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