⤺ color picker

#f0f8ff Color Hex (alice blue)

Hex color #f0f8ff, RGB(240, 248, 255) - also known as alice blue - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

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

Color information

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


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

Color harmonies

#f0f8ff color HTML and CSS codes

Example CSS code:

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

#f0f8ff text/font color

How to set font color?

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

Font color is #f0f8ff.

Every person has their own colour.
- Haruki Murakami, Colorless Tsukuru Tazaki and His Years of Pilgrimage

#f0f8ff background color

How to set background color?

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

Background color is #f0f8ff.

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