HEX: #FEF8C1
RGB: (254,248,193)
#FEF8C1 contains mainly red and green colors. Web safe color of #FEF8C1 is #FFFFCC (or #FFC).
#FEF8C1 color RGB value is (254,248,193).
RGB: (254,248,193) (100%,97%,76%)
R 254 of 255 = 100%
G 248 of 255 = 97%
B 193 of 255 = 76%
R + G + B ~ 91%. #FEF8C1 is light color.
R + G + B =
254 + 248 + 193 = 695 (100%)
R 254 of 695 ~ 36.55%
G 248 of 695 ~ 35.68%
B 193 of 695 ~ 27.77%
#FEF8C1 color CMYK value is (0,2,24,0).
CMYK: (0,2,24,0) C0M2Y24K0 (0%,2%,24%,0%) (0.00/0.02/0.24/0.00)
FE | F8 | C1 | |
---|---|---|---|
RGB | 254 | 248 | 193 |
HSL | 54° | 96.83% | 87.65% |
HSB/HSV | 54° | 24.02% | 99.61% |
CMYK | 0.00% | 2.36% | 24.02% |
0.39% |
HEX | FE | F8 | C1 |
Decimal | 254 | 248 | 193 |
Binary | 11111110 | 11111000 | 11000001 |
Octal | 376 | 370 | 301 |
Examples of css and html codes for elements with #FEF8C1 color. Also use rgb(254,248,193) instead hex code.
.myTextColor { color: #FEF8C1; }
<p style="color:#FEF8C1">This sample text font color is #FEF8C1.</p>
This text font color is #FEF8C1.
.myBgColor { background-color: #FEF8C1; }
<div style="background-color:#FEF8C1">Inner text</div>
This div background color is #FEF8C1.
.myBorderColor { border: 1px solid #FEF8C1; }
<div style="border:3px solid #FEF8C1">Div</div>
This div border color is #FEF8C1.
.myOpacity80 { color: #FEF8C1; opacity: 0.8; }
<p style="color:#FEF8C1;opacity:0.8;">80%</p>
Text with #FEF8C1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEF8C1;}
<p style="text-shadow: 3px 3px 1px #FEF8C1">Text here.</p>
This text has shadow with #FEF8C1 color.
.textShadow {text-shadow: 3px 3px 1px #FEF8C1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEF8C1, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEF8C1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEF8C1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEF8C1, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEF8C1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEF8C1; -webkit-box-shadow: 1px 1px 3px 2px #FEF8C1; box-shadow: 1px 1px 3px 2px #FEF8C1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEF8C1; -webkit-box-shadow: 1px 1px 3px 2px #FEF8C1; box-shadow:1px 1px 3px 2px #FEF8C1;">
Div content here</div>
This text has color #FEF8C1 on black background.
This text has color #FEF8C1 on white background.
This text has black color on #FEF8C1 background.
This text has white color on #FEF8C1 background.