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