HEX: #F2F88E
RGB: (242,248,142)
#F2F88E contains mainly red and green colors. Web safe color of #F2F88E is #FFFF99 (or #FF9).
#F2F88E color RGB value is (242,248,142).
RGB: (242,248,142) (95%,97%,56%)
R 242 of 255 = 95%
G 248 of 255 = 97%
B 142 of 255 = 56%
R + G + B ~ 83%. #F2F88E is quite light color.
R + G + B =
242 + 248 + 142 = 632 (100%)
R 242 of 632 ~ 38.29%
G 248 of 632 ~ 39.24%
B 142 of 632 ~ 22.47%
#F2F88E color CMYK value is (2,0,43,3).
CMYK: (2,0,43,3) C2M0Y43K3 (2%,0%,43%,3%) (0.02/0.00/0.43/0.03)
F2 | F8 | 8E | |
---|---|---|---|
RGB | 242 | 248 | 142 |
HSL | 63° | 88.33% | 76.47% |
HSB/HSV | 63° | 42.74% | 97.25% |
CMYK | 2.42% | 0.00% | 42.74% |
2.75% |
HEX | F2 | F8 | 8E |
Decimal | 242 | 248 | 142 |
Binary | 11110010 | 11111000 | 10001110 |
Octal | 362 | 370 | 216 |
Examples of css and html codes for elements with #F2F88E color. Also use rgb(242,248,142) instead hex code.
.myTextColor { color: #F2F88E; }
<p style="color:#F2F88E">This sample text font color is #F2F88E.</p>
This text font color is #F2F88E.
.myBgColor { background-color: #F2F88E; }
<div style="background-color:#F2F88E">Inner text</div>
This div background color is #F2F88E.
.myBorderColor { border: 1px solid #F2F88E; }
<div style="border:3px solid #F2F88E">Div</div>
This div border color is #F2F88E.
.myOpacity80 { color: #F2F88E; opacity: 0.8; }
<p style="color:#F2F88E;opacity:0.8;">80%</p>
Text with #F2F88E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2F88E;}
<p style="text-shadow: 3px 3px 1px #F2F88E">Text here.</p>
This text has shadow with #F2F88E color.
.textShadow {text-shadow: 3px 3px 1px #F2F88E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2F88E, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2F88E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2F88E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2F88E, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2F88E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2F88E; -webkit-box-shadow: 1px 1px 3px 2px #F2F88E; box-shadow: 1px 1px 3px 2px #F2F88E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2F88E; -webkit-box-shadow: 1px 1px 3px 2px #F2F88E; box-shadow:1px 1px 3px 2px #F2F88E;">
Div content here</div>
This text has color #F2F88E on black background.
This text has color #F2F88E on white background.
This text has black color on #F2F88E background.
This text has white color on #F2F88E background.