HEX: #F0E49F
RGB: (240,228,159)
#F0E49F contains mainly red and green colors. Web safe color of #F0E49F is #FFCC99 (or #FC9).
#F0E49F color RGB value is (240,228,159).
RGB: (240,228,159) (94%,89%,62%)
R 240 of 255 = 94%
G 228 of 255 = 89%
B 159 of 255 = 62%
R + G + B ~ 82%. #F0E49F is quite light color.
R + G + B =
240 + 228 + 159 = 627 (100%)
R 240 of 627 ~ 38.28%
G 228 of 627 ~ 36.36%
B 159 of 627 ~ 25.36%
#F0E49F color CMYK value is (0,5,34,6).
CMYK: (0,5,34,6) C0M5Y34K6 (0%,5%,34%,6%) (0.00/0.05/0.34/0.06)
F0 | E4 | 9F | |
---|---|---|---|
RGB | 240 | 228 | 159 |
HSL | 51° | 72.97% | 78.24% |
HSB/HSV | 51° | 33.75% | 94.12% |
CMYK | 0.00% | 5.00% | 33.75% |
5.88% |
HEX | F0 | E4 | 9F |
Decimal | 240 | 228 | 159 |
Binary | 11110000 | 11100100 | 10011111 |
Octal | 360 | 344 | 237 |
Examples of css and html codes for elements with #F0E49F color. Also use rgb(240,228,159) instead hex code.
.myTextColor { color: #F0E49F; }
<p style="color:#F0E49F">This sample text font color is #F0E49F.</p>
This text font color is #F0E49F.
.myBgColor { background-color: #F0E49F; }
<div style="background-color:#F0E49F">Inner text</div>
This div background color is #F0E49F.
.myBorderColor { border: 1px solid #F0E49F; }
<div style="border:3px solid #F0E49F">Div</div>
This div border color is #F0E49F.
.myOpacity80 { color: #F0E49F; opacity: 0.8; }
<p style="color:#F0E49F;opacity:0.8;">80%</p>
Text with #F0E49F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0E49F;}
<p style="text-shadow: 3px 3px 1px #F0E49F">Text here.</p>
This text has shadow with #F0E49F color.
.textShadow {text-shadow: 3px 3px 1px #F0E49F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0E49F, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0E49F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0E49F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0E49F, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0E49F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0E49F; -webkit-box-shadow: 1px 1px 3px 2px #F0E49F; box-shadow: 1px 1px 3px 2px #F0E49F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0E49F; -webkit-box-shadow: 1px 1px 3px 2px #F0E49F; box-shadow:1px 1px 3px 2px #F0E49F;">
Div content here</div>
This text has color #F0E49F on black background.
This text has color #F0E49F on white background.
This text has black color on #F0E49F background.
This text has white color on #F0E49F background.