HEX: #F0DF7E
RGB: (240,223,126)
#F0DF7E contains mainly red and green colors. Web safe color of #F0DF7E is #FFCC66 (or #FC6).
#F0DF7E color RGB value is (240,223,126).
RGB: (240,223,126) (94%,87%,49%)
R 240 of 255 = 94%
G 223 of 255 = 87%
B 126 of 255 = 49%
R + G + B ~ 77%. #F0DF7E is quite light color.
R + G + B =
240 + 223 + 126 = 589 (100%)
R 240 of 589 ~ 40.75%
G 223 of 589 ~ 37.86%
B 126 of 589 ~ 21.39%
#F0DF7E color CMYK value is (0,7,48,6).
CMYK: (0,7,48,6) C0M7Y48K6 (0%,7%,48%,6%) (0.00/0.07/0.48/0.06)
F0 | DF | 7E | |
---|---|---|---|
RGB | 240 | 223 | 126 |
HSL | 51° | 79.17% | 71.76% |
HSB/HSV | 51° | 47.50% | 94.12% |
CMYK | 0.00% | 7.08% | 47.50% |
5.88% |
HEX | F0 | DF | 7E |
Decimal | 240 | 223 | 126 |
Binary | 11110000 | 11011111 | 1111110 |
Octal | 360 | 337 | 176 |
Examples of css and html codes for elements with #F0DF7E color. Also use rgb(240,223,126) instead hex code.
.myTextColor { color: #F0DF7E; }
<p style="color:#F0DF7E">This sample text font color is #F0DF7E.</p>
This text font color is #F0DF7E.
.myBgColor { background-color: #F0DF7E; }
<div style="background-color:#F0DF7E">Inner text</div>
This div background color is #F0DF7E.
.myBorderColor { border: 1px solid #F0DF7E; }
<div style="border:3px solid #F0DF7E">Div</div>
This div border color is #F0DF7E.
.myOpacity80 { color: #F0DF7E; opacity: 0.8; }
<p style="color:#F0DF7E;opacity:0.8;">80%</p>
Text with #F0DF7E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0DF7E;}
<p style="text-shadow: 3px 3px 1px #F0DF7E">Text here.</p>
This text has shadow with #F0DF7E color.
.textShadow {text-shadow: 3px 3px 1px #F0DF7E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0DF7E, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0DF7E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0DF7E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0DF7E, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0DF7E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0DF7E; -webkit-box-shadow: 1px 1px 3px 2px #F0DF7E; box-shadow: 1px 1px 3px 2px #F0DF7E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0DF7E; -webkit-box-shadow: 1px 1px 3px 2px #F0DF7E; box-shadow:1px 1px 3px 2px #F0DF7E;">
Div content here</div>
This text has color #F0DF7E on black background.
This text has color #F0DF7E on white background.
This text has black color on #F0DF7E background.
This text has white color on #F0DF7E background.