HEX: #F8F6DC
RGB: (248,246,220)
#F8F6DC contains red, green and blue colors in about the same proportion. Web safe color of #F8F6DC is #FFFFCC (or #FFC).
#F8F6DC color RGB value is (248,246,220).
RGB: (248,246,220) (97%,96%,86%)
R 248 of 255 = 97%
G 246 of 255 = 96%
B 220 of 255 = 86%
R + G + B ~ 93%. #F8F6DC is light color.
R + G + B =
248 + 246 + 220 = 714 (100%)
R 248 of 714 ~ 34.73%
G 246 of 714 ~ 34.45%
B 220 of 714 ~ 30.81%
#F8F6DC color CMYK value is (0,1,11,3).
CMYK: (0,1,11,3) C0M1Y11K3 (0%,1%,11%,3%) (0.00/0.01/0.11/0.03)
F8 | F6 | DC | |
---|---|---|---|
RGB | 248 | 246 | 220 |
HSL | 56° | 66.67% | 91.76% |
HSB/HSV | 56° | 11.29% | 97.25% |
CMYK | 0.00% | 0.81% | 11.29% |
2.75% |
HEX | F8 | F6 | DC |
Decimal | 248 | 246 | 220 |
Binary | 11111000 | 11110110 | 11011100 |
Octal | 370 | 366 | 334 |
Examples of css and html codes for elements with #F8F6DC color. Also use rgb(248,246,220) instead hex code.
.myTextColor { color: #F8F6DC; }
<p style="color:#F8F6DC">This sample text font color is #F8F6DC.</p>
This text font color is #F8F6DC.
.myBgColor { background-color: #F8F6DC; }
<div style="background-color:#F8F6DC">Inner text</div>
This div background color is #F8F6DC.
.myBorderColor { border: 1px solid #F8F6DC; }
<div style="border:3px solid #F8F6DC">Div</div>
This div border color is #F8F6DC.
.myOpacity80 { color: #F8F6DC; opacity: 0.8; }
<p style="color:#F8F6DC;opacity:0.8;">80%</p>
Text with #F8F6DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8F6DC;}
<p style="text-shadow: 3px 3px 1px #F8F6DC">Text here.</p>
This text has shadow with #F8F6DC color.
.textShadow {text-shadow: 3px 3px 1px #F8F6DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8F6DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8F6DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8F6DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8F6DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8F6DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8F6DC; -webkit-box-shadow: 1px 1px 3px 2px #F8F6DC; box-shadow: 1px 1px 3px 2px #F8F6DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8F6DC; -webkit-box-shadow: 1px 1px 3px 2px #F8F6DC; box-shadow:1px 1px 3px 2px #F8F6DC;">
Div content here</div>
This text has color #F8F6DC on black background.
This text has color #F8F6DC on white background.
This text has black color on #F8F6DC background.
This text has white color on #F8F6DC background.