⤺ color picker

#f0fef0 Color Hex

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

The hex color code #f0fef0 is a shade of green. In a RGB color space it is composed of 94.12% red, 99.61% green and 94.12% blue. In HSL notation it has 120° hue, 87.5% saturation and 96.9% lightness. The process color (CMYK) is combination of 5.51% cyan, 0% magenta, 5.51% yellow and 0.39% key (black). The closest short hexadecimal code of #f0fef0 is #fff.

Color information

  • #f0fef0 is a shade of green.
  • Green is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 5.51%
    • Magenta: 0%
    • Yellow: 5.51%
    • Key color - black: 0.39%
  • In the HSL model coordinates are:
    • Hue: 120° degrees
    • Saturation: 87.5%
    • Lightness: 96.9%
  • The values in the RGB color space are:
    • Red: 240 (94.12%)
    • Green: 254 (99.61%)
    • Blue: 240 (94.12%)


C: 5.51%, M: 0%, Y: 5.51%, K: 0.39%
R: 240, G: 254, B: 240
H: 120°, S: 87.5%, L: 96.9%

Color harmonies

#f0fef0 color HTML and CSS codes

Example CSS code:

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

#f0fef0 text/font color

How to set font color?

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

Font color is #f0fef0.

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

#f0fef0 background color

How to set background color?

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

Background color is #f0fef0.

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