HEX: #F4F0DC
RGB: (244,240,220)
#F4F0DC contains red, green and blue colors in about the same proportion. Web safe color of #F4F0DC is #FFFFCC (or #FFC).
#F4F0DC color RGB value is (244,240,220).
RGB: (244,240,220) (96%,94%,86%)
R 244 of 255 = 96%
G 240 of 255 = 94%
B 220 of 255 = 86%
R + G + B ~ 92%. #F4F0DC is light color.
R + G + B =
244 + 240 + 220 = 704 (100%)
R 244 of 704 ~ 34.66%
G 240 of 704 ~ 34.09%
B 220 of 704 ~ 31.25%
#F4F0DC color CMYK value is (0,2,10,4).
CMYK: (0,2,10,4) C0M2Y10K4 (0%,2%,10%,4%) (0.00/0.02/0.10/0.04)
F4 | F0 | DC | |
---|---|---|---|
RGB | 244 | 240 | 220 |
HSL | 50° | 52.17% | 90.98% |
HSB/HSV | 50° | 9.84% | 95.69% |
CMYK | 0.00% | 1.64% | 9.84% |
4.31% |
HEX | F4 | F0 | DC |
Decimal | 244 | 240 | 220 |
Binary | 11110100 | 11110000 | 11011100 |
Octal | 364 | 360 | 334 |
Examples of css and html codes for elements with #F4F0DC color. Also use rgb(244,240,220) instead hex code.
.myTextColor { color: #F4F0DC; }
<p style="color:#F4F0DC">This sample text font color is #F4F0DC.</p>
This text font color is #F4F0DC.
.myBgColor { background-color: #F4F0DC; }
<div style="background-color:#F4F0DC">Inner text</div>
This div background color is #F4F0DC.
.myBorderColor { border: 1px solid #F4F0DC; }
<div style="border:3px solid #F4F0DC">Div</div>
This div border color is #F4F0DC.
.myOpacity80 { color: #F4F0DC; opacity: 0.8; }
<p style="color:#F4F0DC;opacity:0.8;">80%</p>
Text with #F4F0DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F4F0DC;}
<p style="text-shadow: 3px 3px 1px #F4F0DC">Text here.</p>
This text has shadow with #F4F0DC color.
.textShadow {text-shadow: 3px 3px 1px #F4F0DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F4F0DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F4F0DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F4F0DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F4F0DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F4F0DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F4F0DC; -webkit-box-shadow: 1px 1px 3px 2px #F4F0DC; box-shadow: 1px 1px 3px 2px #F4F0DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F4F0DC; -webkit-box-shadow: 1px 1px 3px 2px #F4F0DC; box-shadow:1px 1px 3px 2px #F4F0DC;">
Div content here</div>
This text has color #F4F0DC on black background.
This text has color #F4F0DC on white background.
This text has black color on #F4F0DC background.
This text has white color on #F4F0DC background.