HEX: #F8F8DD
RGB: (248,248,221)
#F8F8DD contains red, green and blue colors in about the same proportion. Web safe color of #F8F8DD is #FFFFCC (or #FFC).
#F8F8DD color RGB value is (248,248,221).
RGB: (248,248,221) (97%,97%,87%)
R 248 of 255 = 97%
G 248 of 255 = 97%
B 221 of 255 = 87%
R + G + B ~ 94%. #F8F8DD is light color.
R + G + B =
248 + 248 + 221 = 717 (100%)
R 248 of 717 ~ 34.59%
G 248 of 717 ~ 34.59%
B 221 of 717 ~ 30.82%
#F8F8DD color CMYK value is (0,0,11,3).
CMYK: (0,0,11,3) C0M0Y11K3 (0%,0%,11%,3%) (0.00/0.00/0.11/0.03)
F8 | F8 | DD | |
---|---|---|---|
RGB | 248 | 248 | 221 |
HSL | 60° | 65.85% | 91.96% |
HSB/HSV | 60° | 10.89% | 97.25% |
CMYK | 0.00% | 0.00% | 10.89% |
2.75% |
HEX | F8 | F8 | DD |
Decimal | 248 | 248 | 221 |
Binary | 11111000 | 11111000 | 11011101 |
Octal | 370 | 370 | 335 |
Examples of css and html codes for elements with #F8F8DD color. Also use rgb(248,248,221) instead hex code.
.myTextColor { color: #F8F8DD; }
<p style="color:#F8F8DD">This sample text font color is #F8F8DD.</p>
This text font color is #F8F8DD.
.myBgColor { background-color: #F8F8DD; }
<div style="background-color:#F8F8DD">Inner text</div>
This div background color is #F8F8DD.
.myBorderColor { border: 1px solid #F8F8DD; }
<div style="border:3px solid #F8F8DD">Div</div>
This div border color is #F8F8DD.
.myOpacity80 { color: #F8F8DD; opacity: 0.8; }
<p style="color:#F8F8DD;opacity:0.8;">80%</p>
Text with #F8F8DD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F8F8DD;}
<p style="text-shadow: 3px 3px 1px #F8F8DD">Text here.</p>
This text has shadow with #F8F8DD color.
.textShadow {text-shadow: 3px 3px 1px #F8F8DD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F8F8DD, 5px 5px 20px red">Text here.</p>
This text has shadow with #F8F8DD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F8F8DD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F8F8DD, Direction=45, Strength=4)">Text</p>
This text has shadow with #F8F8DD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F8F8DD; -webkit-box-shadow: 1px 1px 3px 2px #F8F8DD; box-shadow: 1px 1px 3px 2px #F8F8DD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F8F8DD; -webkit-box-shadow: 1px 1px 3px 2px #F8F8DD; box-shadow:1px 1px 3px 2px #F8F8DD;">
Div content here</div>
This text has color #F8F8DD on black background.
This text has color #F8F8DD on white background.
This text has black color on #F8F8DD background.
This text has white color on #F8F8DD background.