⤺ color picker

#ffe4b5 Color Hex (moccasin)

Hex color #ffe4b5, RGB(255, 228, 181) - also known as moccasin - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #ffe4b5 is a shade of red-yellow. In a RGB color space it is composed of 100% red, 89.41% green and 70.98% blue. In HSL notation it has 38.1° hue, 100% saturation and 85.5% lightness. The process color (CMYK) is combination of 0% cyan, 10.59% magenta, 29.02% yellow and 0% key (black). The closest short hexadecimal code of #ffe4b5 is #feb.

Color information

  • #ffe4b5 is a shade of red-yellow.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 10.59%
    • Yellow: 29.02%
    • Key color - black: 0%
  • In the HSL model coordinates are:
    • Hue: 38.1° degrees
    • Saturation: 100%
    • Lightness: 85.5%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 228 (89.41%)
    • Blue: 181 (70.98%)


C: 0%, M: 10.59%, Y: 29.02%, K: 0%
R: 255, G: 228, B: 181
H: 38.1°, S: 100%, L: 85.5%

Color harmonies

#ffe4b5 color HTML and CSS codes

Example CSS code:

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

#ffe4b5 text/font color

How to set font color?

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

Font color is #ffe4b5.

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

#ffe4b5 background color

How to set background color?

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

Background color is #ffe4b5.

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