Hex color #fef1f1, RGB(254, 241, 241) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.
The hex color code #fef1f1 is a shade of red. In a RGB color space it is composed of 99.61% red, 94.51% green and 94.51% blue. In HSL notation it has 0° hue, 86.7% saturation and 97.1% lightness. The process color (CMYK) is combination of 0% cyan, 5.12% magenta, 5.12% yellow and 0.39% key (black). The closest short hexadecimal code of #fef1f1 is #fff.
Example CSS code:
.setFontColor { color: #fef1f1; }
.setBackgroundColor { background-color: #fef1f1; }
How to set font color?
<p style="color:#fef1f1">Font color is #fef1f1.</p>
Font color is #fef1f1.
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
How to set background color?
<div style="background-color:#fef1f1">Background color is #fef1f1.</div>
Background color is #fef1f1.
Compromise in colors is grey.
- Edi Rama