HEX: #F0D7AE
RGB: (240,215,174)
#F0D7AE contains mainly red and green colors. Web safe color of #F0D7AE is #FFCC99 (or #FC9).
#F0D7AE color RGB value is (240,215,174).
RGB: (240,215,174) (94%,84%,68%)
R 240 of 255 = 94%
G 215 of 255 = 84%
B 174 of 255 = 68%
R + G + B ~ 82%. #F0D7AE is quite light color.
R + G + B =
240 + 215 + 174 = 629 (100%)
R 240 of 629 ~ 38.16%
G 215 of 629 ~ 34.18%
B 174 of 629 ~ 27.66%
#F0D7AE color CMYK value is (0,10,28,6).
CMYK: (0,10,28,6) C0M10Y28K6 (0%,10%,28%,6%) (0.00/0.10/0.28/0.06)
F0 | D7 | AE | |
---|---|---|---|
RGB | 240 | 215 | 174 |
HSL | 37° | 68.75% | 81.18% |
HSB/HSV | 37° | 27.50% | 94.12% |
CMYK | 0.00% | 10.42% | 27.50% |
5.88% |
HEX | F0 | D7 | AE |
Decimal | 240 | 215 | 174 |
Binary | 11110000 | 11010111 | 10101110 |
Octal | 360 | 327 | 256 |
Examples of css and html codes for elements with #F0D7AE color. Also use rgb(240,215,174) instead hex code.
.myTextColor { color: #F0D7AE; }
<p style="color:#F0D7AE">This sample text font color is #F0D7AE.</p>
This text font color is #F0D7AE.
.myBgColor { background-color: #F0D7AE; }
<div style="background-color:#F0D7AE">Inner text</div>
This div background color is #F0D7AE.
.myBorderColor { border: 1px solid #F0D7AE; }
<div style="border:3px solid #F0D7AE">Div</div>
This div border color is #F0D7AE.
.myOpacity80 { color: #F0D7AE; opacity: 0.8; }
<p style="color:#F0D7AE;opacity:0.8;">80%</p>
Text with #F0D7AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0D7AE;}
<p style="text-shadow: 3px 3px 1px #F0D7AE">Text here.</p>
This text has shadow with #F0D7AE color.
.textShadow {text-shadow: 3px 3px 1px #F0D7AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0D7AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0D7AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0D7AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0D7AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0D7AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0D7AE; -webkit-box-shadow: 1px 1px 3px 2px #F0D7AE; box-shadow: 1px 1px 3px 2px #F0D7AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0D7AE; -webkit-box-shadow: 1px 1px 3px 2px #F0D7AE; box-shadow:1px 1px 3px 2px #F0D7AE;">
Div content here</div>
This text has color #F0D7AE on black background.
This text has color #F0D7AE on white background.
This text has black color on #F0D7AE background.
This text has white color on #F0D7AE background.