⤺ color picker

#f8f8ff Color Hex (ghost white)

Hex color #f8f8ff, RGB(248, 248, 255) - also known as ghost white - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

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

Color information

  • #f8f8ff is a shade of blue.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 2.75%
    • Magenta: 2.75%
    • Yellow: 0%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 240° degrees
    • Saturation: 100%
    • Lightness: 98.6%
  • The values in the RGB color space are:
    • Red: 248 (97.25%)
    • Green: 248 (97.25%)
    • Blue: 255 (100%)


C: 2.75%, M: 2.75%, Y: 0%, K: 0%
R: 248, G: 248, B: 255
H: 240°, S: 100%, L: 98.6%

Color harmonies

#f8f8ff color HTML and CSS codes

Example CSS code:

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

#f8f8ff text/font color

How to set font color?

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

Font color is #f8f8ff.

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

#f8f8ff background color

How to set background color?

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

Background color is #f8f8ff.

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