⤺ color picker

#f8f8f8 Color Hex

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

The hex color code #f8f8f8 is a shade of red. In a RGB color space it is composed of 97.25% red, 97.25% green and 97.25% blue. In HSL notation it has 0° hue, 0% saturation and 97.3% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 0% yellow and 2.75% key (black). The closest short hexadecimal code of #f8f8f8 is #fff.

Color information

  • #f8f8f8 is a shade of red.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 0%
    • Yellow: 0%
    • Key color - black: 2.75%
  • In the HSL model coordinates are:
    • Hue: 0° degrees
    • Saturation: 0%
    • Lightness: 97.3%
  • The values in the RGB color space are:
    • Red: 248 (97.25%)
    • Green: 248 (97.25%)
    • Blue: 248 (97.25%)


C: 0%, M: 0%, Y: 0%, K: 2.75%
R: 248, G: 248, B: 248
H: , S: 0%, L: 97.3%

Color harmonies

#f8f8f8 color HTML and CSS codes

Example CSS code:

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

#f8f8f8 text/font color

How to set font color?

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

Font color is #f8f8f8.

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

#f8f8f8 background color

How to set background color?

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

Background color is #f8f8f8.

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