⤺ color picker

#f9f7f2 Color Hex

Hex color #f9f7f2, RGB(249, 247, 242) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #f9f7f2 is a shade of red-yellow. In a RGB color space it is composed of 97.65% red, 96.86% green and 94.9% blue. In HSL notation it has 42.9° hue, 36.8% saturation and 96.3% lightness. The process color (CMYK) is combination of 0% cyan, 0.80% magenta, 2.81% yellow and 2.35% key (black). The closest short hexadecimal code of #f9f7f2 is #fff.

Color information

  • #f9f7f2 is a shade of red-yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 0.80%
    • Yellow: 2.81%
    • Key color - black: 2.35%
  • In the HSL model coordinates are:
    • Hue: 42.9° degrees
    • Saturation: 36.8%
    • Lightness: 96.3%
  • The values in the RGB color space are:
    • Red: 249 (97.65%)
    • Green: 247 (96.86%)
    • Blue: 242 (94.9%)


C: 0%, M: 0.80%, Y: 2.81%, K: 2.35%
R: 249, G: 247, B: 242
H: 42.9°, S: 36.8%, L: 96.3%

Color harmonies

#f9f7f2 color HTML and CSS codes

Example CSS code:

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

#f9f7f2 text/font color

How to set font color?

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

Font color is #f9f7f2.

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

#f9f7f2 background color

How to set background color?

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

Background color is #f9f7f2.

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