HEX: #F0DB8E
RGB: (240,219,142)
#F0DB8E contains mainly red and green colors. Web safe color of #F0DB8E is #FFCC99 (or #FC9).
#F0DB8E color RGB value is (240,219,142).
RGB: (240,219,142) (94%,86%,56%)
R 240 of 255 = 94%
G 219 of 255 = 86%
B 142 of 255 = 56%
R + G + B ~ 79%. #F0DB8E is quite light color.
R + G + B =
240 + 219 + 142 = 601 (100%)
R 240 of 601 ~ 39.93%
G 219 of 601 ~ 36.44%
B 142 of 601 ~ 23.63%
#F0DB8E color CMYK value is (0,9,41,6).
CMYK: (0,9,41,6) C0M9Y41K6 (0%,9%,41%,6%) (0.00/0.09/0.41/0.06)
F0 | DB | 8E | |
---|---|---|---|
RGB | 240 | 219 | 142 |
HSL | 47° | 76.56% | 74.90% |
HSB/HSV | 47° | 40.83% | 94.12% |
CMYK | 0.00% | 8.75% | 40.83% |
5.88% |
HEX | F0 | DB | 8E |
Decimal | 240 | 219 | 142 |
Binary | 11110000 | 11011011 | 10001110 |
Octal | 360 | 333 | 216 |
Examples of css and html codes for elements with #F0DB8E color. Also use rgb(240,219,142) instead hex code.
.myTextColor { color: #F0DB8E; }
<p style="color:#F0DB8E">This sample text font color is #F0DB8E.</p>
This text font color is #F0DB8E.
.myBgColor { background-color: #F0DB8E; }
<div style="background-color:#F0DB8E">Inner text</div>
This div background color is #F0DB8E.
.myBorderColor { border: 1px solid #F0DB8E; }
<div style="border:3px solid #F0DB8E">Div</div>
This div border color is #F0DB8E.
.myOpacity80 { color: #F0DB8E; opacity: 0.8; }
<p style="color:#F0DB8E;opacity:0.8;">80%</p>
Text with #F0DB8E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0DB8E;}
<p style="text-shadow: 3px 3px 1px #F0DB8E">Text here.</p>
This text has shadow with #F0DB8E color.
.textShadow {text-shadow: 3px 3px 1px #F0DB8E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0DB8E, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0DB8E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0DB8E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0DB8E, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0DB8E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0DB8E; -webkit-box-shadow: 1px 1px 3px 2px #F0DB8E; box-shadow: 1px 1px 3px 2px #F0DB8E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0DB8E; -webkit-box-shadow: 1px 1px 3px 2px #F0DB8E; box-shadow:1px 1px 3px 2px #F0DB8E;">
Div content here</div>
This text has color #F0DB8E on black background.
This text has color #F0DB8E on white background.
This text has black color on #F0DB8E background.
This text has white color on #F0DB8E background.