HEX: #F2EC98
RGB: (242,236,152)
#F2EC98 contains mainly red and green colors. Web safe color of #F2EC98 is #FFFF99 (or #FF9).
#F2EC98 color RGB value is (242,236,152).
RGB: (242,236,152) (95%,93%,60%)
R 242 of 255 = 95%
G 236 of 255 = 93%
B 152 of 255 = 60%
R + G + B ~ 83%. #F2EC98 is quite light color.
R + G + B =
242 + 236 + 152 = 630 (100%)
R 242 of 630 ~ 38.41%
G 236 of 630 ~ 37.46%
B 152 of 630 ~ 24.13%
#F2EC98 color CMYK value is (0,2,37,5).
CMYK: (0,2,37,5) C0M2Y37K5 (0%,2%,37%,5%) (0.00/0.02/0.37/0.05)
F2 | EC | 98 | |
---|---|---|---|
RGB | 242 | 236 | 152 |
HSL | 56° | 77.59% | 77.25% |
HSB/HSV | 56° | 37.19% | 94.90% |
CMYK | 0.00% | 2.48% | 37.19% |
5.10% |
HEX | F2 | EC | 98 |
Decimal | 242 | 236 | 152 |
Binary | 11110010 | 11101100 | 10011000 |
Octal | 362 | 354 | 230 |
Examples of css and html codes for elements with #F2EC98 color. Also use rgb(242,236,152) instead hex code.
.myTextColor { color: #F2EC98; }
<p style="color:#F2EC98">This sample text font color is #F2EC98.</p>
This text font color is #F2EC98.
.myBgColor { background-color: #F2EC98; }
<div style="background-color:#F2EC98">Inner text</div>
This div background color is #F2EC98.
.myBorderColor { border: 1px solid #F2EC98; }
<div style="border:3px solid #F2EC98">Div</div>
This div border color is #F2EC98.
.myOpacity80 { color: #F2EC98; opacity: 0.8; }
<p style="color:#F2EC98;opacity:0.8;">80%</p>
Text with #F2EC98 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2EC98;}
<p style="text-shadow: 3px 3px 1px #F2EC98">Text here.</p>
This text has shadow with #F2EC98 color.
.textShadow {text-shadow: 3px 3px 1px #F2EC98, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2EC98, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2EC98 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2EC98, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2EC98, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2EC98 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2EC98; -webkit-box-shadow: 1px 1px 3px 2px #F2EC98; box-shadow: 1px 1px 3px 2px #F2EC98; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2EC98; -webkit-box-shadow: 1px 1px 3px 2px #F2EC98; box-shadow:1px 1px 3px 2px #F2EC98;">
Div content here</div>
This text has color #F2EC98 on black background.
This text has color #F2EC98 on white background.
This text has black color on #F2EC98 background.
This text has white color on #F2EC98 background.