HEX: #F9F8E7
RGB: (249,248,231)
#F9F8E7 contains red, green and blue colors in about the same proportion. Web safe color of #F9F8E7 is #FFFFFF (or #FFF).
#F9F8E7 color RGB value is (249,248,231).
RGB: (249,248,231) (98%,97%,91%)
R 249 of 255 = 98%
G 248 of 255 = 97%
B 231 of 255 = 91%
R + G + B ~ 95%. #F9F8E7 is light color.
R + G + B =
249 + 248 + 231 = 728 (100%)
R 249 of 728 ~ 34.2%
G 248 of 728 ~ 34.07%
B 231 of 728 ~ 31.73%
#F9F8E7 color CMYK value is (0,0,7,2).
CMYK: (0,0,7,2) C0M0Y7K2 (0%,0%,7%,2%) (0.00/0.00/0.07/0.02)
F9 | F8 | E7 | |
---|---|---|---|
RGB | 249 | 248 | 231 |
HSL | 57° | 60.00% | 94.12% |
HSB/HSV | 57° | 7.23% | 97.65% |
CMYK | 0.00% | 0.40% | 7.23% |
2.35% |
HEX | F9 | F8 | E7 |
Decimal | 249 | 248 | 231 |
Binary | 11111001 | 11111000 | 11100111 |
Octal | 371 | 370 | 347 |
Examples of css and html codes for elements with #F9F8E7 color. Also use rgb(249,248,231) instead hex code.
.myTextColor { color: #F9F8E7; }
<p style="color:#F9F8E7">This sample text font color is #F9F8E7.</p>
This text font color is #F9F8E7.
.myBgColor { background-color: #F9F8E7; }
<div style="background-color:#F9F8E7">Inner text</div>
This div background color is #F9F8E7.
.myBorderColor { border: 1px solid #F9F8E7; }
<div style="border:3px solid #F9F8E7">Div</div>
This div border color is #F9F8E7.
.myOpacity80 { color: #F9F8E7; opacity: 0.8; }
<p style="color:#F9F8E7;opacity:0.8;">80%</p>
Text with #F9F8E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F9F8E7;}
<p style="text-shadow: 3px 3px 1px #F9F8E7">Text here.</p>
This text has shadow with #F9F8E7 color.
.textShadow {text-shadow: 3px 3px 1px #F9F8E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F9F8E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #F9F8E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F9F8E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F9F8E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #F9F8E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F9F8E7; -webkit-box-shadow: 1px 1px 3px 2px #F9F8E7; box-shadow: 1px 1px 3px 2px #F9F8E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F9F8E7; -webkit-box-shadow: 1px 1px 3px 2px #F9F8E7; box-shadow:1px 1px 3px 2px #F9F8E7;">
Div content here</div>
This text has color #F9F8E7 on black background.
This text has color #F9F8E7 on white background.
This text has black color on #F9F8E7 background.
This text has white color on #F9F8E7 background.