HEX: #F0EF9D
RGB: (240,239,157)
#F0EF9D contains mainly red and green colors. Web safe color of #F0EF9D is #FFFF99 (or #FF9).
#F0EF9D color RGB value is (240,239,157).
RGB: (240,239,157) (94%,94%,62%)
R 240 of 255 = 94%
G 239 of 255 = 94%
B 157 of 255 = 62%
R + G + B ~ 83%. #F0EF9D is quite light color.
R + G + B =
240 + 239 + 157 = 636 (100%)
R 240 of 636 ~ 37.74%
G 239 of 636 ~ 37.58%
B 157 of 636 ~ 24.69%
#F0EF9D color CMYK value is (0,0,35,6).
CMYK: (0,0,35,6) C0M0Y35K6 (0%,0%,35%,6%) (0.00/0.00/0.35/0.06)
F0 | EF | 9D | |
---|---|---|---|
RGB | 240 | 239 | 157 |
HSL | 59° | 73.45% | 77.84% |
HSB/HSV | 59° | 34.58% | 94.12% |
CMYK | 0.00% | 0.42% | 34.58% |
5.88% |
HEX | F0 | EF | 9D |
Decimal | 240 | 239 | 157 |
Binary | 11110000 | 11101111 | 10011101 |
Octal | 360 | 357 | 235 |
Examples of css and html codes for elements with #F0EF9D color. Also use rgb(240,239,157) instead hex code.
.myTextColor { color: #F0EF9D; }
<p style="color:#F0EF9D">This sample text font color is #F0EF9D.</p>
This text font color is #F0EF9D.
.myBgColor { background-color: #F0EF9D; }
<div style="background-color:#F0EF9D">Inner text</div>
This div background color is #F0EF9D.
.myBorderColor { border: 1px solid #F0EF9D; }
<div style="border:3px solid #F0EF9D">Div</div>
This div border color is #F0EF9D.
.myOpacity80 { color: #F0EF9D; opacity: 0.8; }
<p style="color:#F0EF9D;opacity:0.8;">80%</p>
Text with #F0EF9D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0EF9D;}
<p style="text-shadow: 3px 3px 1px #F0EF9D">Text here.</p>
This text has shadow with #F0EF9D color.
.textShadow {text-shadow: 3px 3px 1px #F0EF9D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0EF9D, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0EF9D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0EF9D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0EF9D, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0EF9D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0EF9D; -webkit-box-shadow: 1px 1px 3px 2px #F0EF9D; box-shadow: 1px 1px 3px 2px #F0EF9D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0EF9D; -webkit-box-shadow: 1px 1px 3px 2px #F0EF9D; box-shadow:1px 1px 3px 2px #F0EF9D;">
Div content here</div>
This text has color #F0EF9D on black background.
This text has color #F0EF9D on white background.
This text has black color on #F0EF9D background.
This text has white color on #F0EF9D background.