HEX: #FEF2EA
RGB: (254,242,234)
#FEF2EA contains red, green and blue colors in about the same proportion. Web safe color of #FEF2EA is #FFFFFF (or #FFF).
#FEF2EA color RGB value is (254,242,234).
RGB: (254,242,234) (100%,95%,92%)
R 254 of 255 = 100%
G 242 of 255 = 95%
B 234 of 255 = 92%
R + G + B ~ 96%. #FEF2EA is light color.
R + G + B =
254 + 242 + 234 = 730 (100%)
R 254 of 730 ~ 34.79%
G 242 of 730 ~ 33.15%
B 234 of 730 ~ 32.05%
#FEF2EA color CMYK value is (0,5,8,0).
CMYK: (0,5,8,0) C0M5Y8K0 (0%,5%,8%,0%) (0.00/0.05/0.08/0.00)
FE | F2 | EA | |
---|---|---|---|
RGB | 254 | 242 | 234 |
HSL | 24° | 90.91% | 95.69% |
HSB/HSV | 24° | 7.87% | 99.61% |
CMYK | 0.00% | 4.72% | 7.87% |
0.39% |
HEX | FE | F2 | EA |
Decimal | 254 | 242 | 234 |
Binary | 11111110 | 11110010 | 11101010 |
Octal | 376 | 362 | 352 |
Examples of css and html codes for elements with #FEF2EA color. Also use rgb(254,242,234) instead hex code.
.myTextColor { color: #FEF2EA; }
<p style="color:#FEF2EA">This sample text font color is #FEF2EA.</p>
This text font color is #FEF2EA.
.myBgColor { background-color: #FEF2EA; }
<div style="background-color:#FEF2EA">Inner text</div>
This div background color is #FEF2EA.
.myBorderColor { border: 1px solid #FEF2EA; }
<div style="border:3px solid #FEF2EA">Div</div>
This div border color is #FEF2EA.
.myOpacity80 { color: #FEF2EA; opacity: 0.8; }
<p style="color:#FEF2EA;opacity:0.8;">80%</p>
Text with #FEF2EA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEF2EA;}
<p style="text-shadow: 3px 3px 1px #FEF2EA">Text here.</p>
This text has shadow with #FEF2EA color.
.textShadow {text-shadow: 3px 3px 1px #FEF2EA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEF2EA, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEF2EA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEF2EA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEF2EA, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEF2EA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEF2EA; -webkit-box-shadow: 1px 1px 3px 2px #FEF2EA; box-shadow: 1px 1px 3px 2px #FEF2EA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEF2EA; -webkit-box-shadow: 1px 1px 3px 2px #FEF2EA; box-shadow:1px 1px 3px 2px #FEF2EA;">
Div content here</div>
This text has color #FEF2EA on black background.
This text has color #FEF2EA on white background.
This text has black color on #FEF2EA background.
This text has white color on #FEF2EA background.