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