HEX: #F0EF76
RGB: (240,239,118)
#F0EF76 contains mainly red and green colors. Web safe color of #F0EF76 is #FFFF66 (or #FF6).
#F0EF76 color RGB value is (240,239,118).
RGB: (240,239,118) (94%,94%,46%)
R 240 of 255 = 94%
G 239 of 255 = 94%
B 118 of 255 = 46%
R + G + B ~ 78%. #F0EF76 is quite light color.
R + G + B =
240 + 239 + 118 = 597 (100%)
R 240 of 597 ~ 40.2%
G 239 of 597 ~ 40.03%
B 118 of 597 ~ 19.77%
#F0EF76 color CMYK value is (0,0,51,6).
CMYK: (0,0,51,6) C0M0Y51K6 (0%,0%,51%,6%) (0.00/0.00/0.51/0.06)
F0 | EF | 76 | |
---|---|---|---|
RGB | 240 | 239 | 118 |
HSL | 60° | 80.26% | 70.20% |
HSB/HSV | 60° | 50.83% | 94.12% |
CMYK | 0.00% | 0.42% | 50.83% |
5.88% |
HEX | F0 | EF | 76 |
Decimal | 240 | 239 | 118 |
Binary | 11110000 | 11101111 | 1110110 |
Octal | 360 | 357 | 166 |
Examples of css and html codes for elements with #F0EF76 color. Also use rgb(240,239,118) instead hex code.
.myTextColor { color: #F0EF76; }
<p style="color:#F0EF76">This sample text font color is #F0EF76.</p>
This text font color is #F0EF76.
.myBgColor { background-color: #F0EF76; }
<div style="background-color:#F0EF76">Inner text</div>
This div background color is #F0EF76.
.myBorderColor { border: 1px solid #F0EF76; }
<div style="border:3px solid #F0EF76">Div</div>
This div border color is #F0EF76.
.myOpacity80 { color: #F0EF76; opacity: 0.8; }
<p style="color:#F0EF76;opacity:0.8;">80%</p>
Text with #F0EF76 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F0EF76;}
<p style="text-shadow: 3px 3px 1px #F0EF76">Text here.</p>
This text has shadow with #F0EF76 color.
.textShadow {text-shadow: 3px 3px 1px #F0EF76, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F0EF76, 5px 5px 20px red">Text here.</p>
This text has shadow with #F0EF76 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F0EF76, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F0EF76, Direction=45, Strength=4)">Text</p>
This text has shadow with #F0EF76 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F0EF76; -webkit-box-shadow: 1px 1px 3px 2px #F0EF76; box-shadow: 1px 1px 3px 2px #F0EF76; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F0EF76; -webkit-box-shadow: 1px 1px 3px 2px #F0EF76; box-shadow:1px 1px 3px 2px #F0EF76;">
Div content here</div>
This text has color #F0EF76 on black background.
This text has color #F0EF76 on white background.
This text has black color on #F0EF76 background.
This text has white color on #F0EF76 background.