HEX: #FEF8A5
RGB: (254,248,165)
#FEF8A5 contains mainly red and green colors. Web safe color of #FEF8A5 is #FFFF99 (or #FF9).
#FEF8A5 color RGB value is (254,248,165).
RGB: (254,248,165) (100%,97%,65%)
R 254 of 255 = 100%
G 248 of 255 = 97%
B 165 of 255 = 65%
R + G + B ~ 87%. #FEF8A5 is light color.
R + G + B =
254 + 248 + 165 = 667 (100%)
R 254 of 667 ~ 38.08%
G 248 of 667 ~ 37.18%
B 165 of 667 ~ 24.74%
#FEF8A5 color CMYK value is (0,2,35,0).
CMYK: (0,2,35,0) C0M2Y35K0 (0%,2%,35%,0%) (0.00/0.02/0.35/0.00)
FE | F8 | A5 | |
---|---|---|---|
RGB | 254 | 248 | 165 |
HSL | 56° | 97.80% | 82.16% |
HSB/HSV | 56° | 35.04% | 99.61% |
CMYK | 0.00% | 2.36% | 35.04% |
0.39% |
HEX | FE | F8 | A5 |
Decimal | 254 | 248 | 165 |
Binary | 11111110 | 11111000 | 10100101 |
Octal | 376 | 370 | 245 |
Examples of css and html codes for elements with #FEF8A5 color. Also use rgb(254,248,165) instead hex code.
.myTextColor { color: #FEF8A5; }
<p style="color:#FEF8A5">This sample text font color is #FEF8A5.</p>
This text font color is #FEF8A5.
.myBgColor { background-color: #FEF8A5; }
<div style="background-color:#FEF8A5">Inner text</div>
This div background color is #FEF8A5.
.myBorderColor { border: 1px solid #FEF8A5; }
<div style="border:3px solid #FEF8A5">Div</div>
This div border color is #FEF8A5.
.myOpacity80 { color: #FEF8A5; opacity: 0.8; }
<p style="color:#FEF8A5;opacity:0.8;">80%</p>
Text with #FEF8A5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #FEF8A5;}
<p style="text-shadow: 3px 3px 1px #FEF8A5">Text here.</p>
This text has shadow with #FEF8A5 color.
.textShadow {text-shadow: 3px 3px 1px #FEF8A5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #FEF8A5, 5px 5px 20px red">Text here.</p>
This text has shadow with #FEF8A5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#FEF8A5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#FEF8A5, Direction=45, Strength=4)">Text</p>
This text has shadow with #FEF8A5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #FEF8A5; -webkit-box-shadow: 1px 1px 3px 2px #FEF8A5; box-shadow: 1px 1px 3px 2px #FEF8A5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #FEF8A5; -webkit-box-shadow: 1px 1px 3px 2px #FEF8A5; box-shadow:1px 1px 3px 2px #FEF8A5;">
Div content here</div>
This text has color #FEF8A5 on black background.
This text has color #FEF8A5 on white background.
This text has black color on #FEF8A5 background.
This text has white color on #FEF8A5 background.