HEX: #FEF2CE
RGB: (254,242,206)
#FEF2CE contains red, green and blue colors in about the same proportion. Web safe color of #FEF2CE is #FFFFCC (or #FFC).
#FEF2CE color RGB value is (254,242,206).
RGB: (254,242,206) (100%,95%,81%)
R 254 of 255 = 100%
G 242 of 255 = 95%
B 206 of 255 = 81%
R + G + B ~ 92%. #FEF2CE is light color.
R + G + B =
254 + 242 + 206 = 702 (100%)
R 254 of 702 ~ 36.18%
G 242 of 702 ~ 34.47%
B 206 of 702 ~ 29.34%
#FEF2CE color CMYK value is (0,5,19,0).
CMYK: (0,5,19,0) C0M5Y19K0 (0%,5%,19%,0%) (0.00/0.05/0.19/0.00)
FE | F2 | CE | |
---|---|---|---|
RGB | 254 | 242 | 206 |
HSL | 45° | 96.00% | 90.20% |
HSB/HSV | 45° | 18.90% | 99.61% |
CMYK | 0.00% | 4.72% | 18.90% |
0.39% |
HEX | FE | F2 | CE |
Decimal | 254 | 242 | 206 |
Binary | 11111110 | 11110010 | 11001110 |
Octal | 376 | 362 | 316 |
Examples of css and html codes for elements with #FEF2CE color. Also use rgb(254,242,206) instead hex code.
.myTextColor { color: #FEF2CE; }
<p style="color:#FEF2CE">This sample text font color is #FEF2CE.</p>
This text font color is #FEF2CE.
.myBgColor { background-color: #FEF2CE; }
<div style="background-color:#FEF2CE">Inner text</div>
This div background color is #FEF2CE.
.myBorderColor { border: 1px solid #FEF2CE; }
<div style="border:3px solid #FEF2CE">Div</div>
This div border color is #FEF2CE.
.myOpacity80 { color: #FEF2CE; opacity: 0.8; }
<p style="color:#FEF2CE;opacity:0.8;">80%</p>
Text with #FEF2CE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEF2CE;}
<p style="text-shadow: 3px 3px 1px #FEF2CE">Text here.</p>
This text has shadow with #FEF2CE color.
.textShadow {text-shadow: 3px 3px 1px #FEF2CE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEF2CE, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEF2CE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEF2CE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEF2CE, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEF2CE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEF2CE; -webkit-box-shadow: 1px 1px 3px 2px #FEF2CE; box-shadow: 1px 1px 3px 2px #FEF2CE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEF2CE; -webkit-box-shadow: 1px 1px 3px 2px #FEF2CE; box-shadow:1px 1px 3px 2px #FEF2CE;">
Div content here</div>
This text has color #FEF2CE on black background.
This text has color #FEF2CE on white background.
This text has black color on #FEF2CE background.
This text has white color on #FEF2CE background.