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