⤺ color picker

#f0ecfb Color Hex

Hex color #f0ecfb, RGB(240, 236, 251) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #f0ecfb is a shade of blue-magenta. In a RGB color space it is composed of 94.12% red, 92.55% green and 98.43% blue. In HSL notation it has 256° hue, 65.2% saturation and 95.5% lightness. The process color (CMYK) is combination of 4.38% cyan, 5.98% magenta, 0% yellow and 1.57% key (black). The closest short hexadecimal code of #f0ecfb is #fef.

Color information

  • #f0ecfb is a shade of blue-magenta.
  • Blue is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 4.38%
    • Magenta: 5.98%
    • Yellow: 0%
    • Key color - black: 1.57%
  • In the HSL model coordinates are:
    • Hue: 256° degrees
    • Saturation: 65.2%
    • Lightness: 95.5%
  • The values in the RGB color space are:
    • Red: 240 (94.12%)
    • Green: 236 (92.55%)
    • Blue: 251 (98.43%)


C: 4.38%, M: 5.98%, Y: 0%, K: 1.57%
R: 240, G: 236, B: 251
H: 256°, S: 65.2%, L: 95.5%

Color harmonies

#f0ecfb color HTML and CSS codes

Example CSS code:

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

#f0ecfb text/font color

How to set font color?

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

Font color is #f0ecfb.

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

#f0ecfb background color

How to set background color?

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

Background color is #f0ecfb.

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