HEX: #F2F7EC
RGB: (242,247,236)
#F2F7EC contains red, green and blue colors in about the same proportion. Web safe color of #F2F7EC is #FFFFFF (or #FFF).
#F2F7EC color RGB value is (242,247,236).
RGB: (242,247,236) (95%,97%,93%)
R 242 of 255 = 95%
G 247 of 255 = 97%
B 236 of 255 = 93%
R + G + B ~ 95%. #F2F7EC is light color.
R + G + B =
242 + 247 + 236 = 725 (100%)
R 242 of 725 ~ 33.38%
G 247 of 725 ~ 34.07%
B 236 of 725 ~ 32.55%
#F2F7EC color CMYK value is (2,0,4,3).
CMYK: (2,0,4,3) C2M0Y4K3 (2%,0%,4%,3%) (0.02/0.00/0.04/0.03)
F2 | F7 | EC | |
---|---|---|---|
RGB | 242 | 247 | 236 |
HSL | 87° | 40.74% | 94.71% |
HSB/HSV | 87° | 4.45% | 96.86% |
CMYK | 2.02% | 0.00% | 4.45% |
3.14% |
HEX | F2 | F7 | EC |
Decimal | 242 | 247 | 236 |
Binary | 11110010 | 11110111 | 11101100 |
Octal | 362 | 367 | 354 |
Examples of css and html codes for elements with #F2F7EC color. Also use rgb(242,247,236) instead hex code.
.myTextColor { color: #F2F7EC; }
<p style="color:#F2F7EC">This sample text font color is #F2F7EC.</p>
This text font color is #F2F7EC.
.myBgColor { background-color: #F2F7EC; }
<div style="background-color:#F2F7EC">Inner text</div>
This div background color is #F2F7EC.
.myBorderColor { border: 1px solid #F2F7EC; }
<div style="border:3px solid #F2F7EC">Div</div>
This div border color is #F2F7EC.
.myOpacity80 { color: #F2F7EC; opacity: 0.8; }
<p style="color:#F2F7EC;opacity:0.8;">80%</p>
Text with #F2F7EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2F7EC;}
<p style="text-shadow: 3px 3px 1px #F2F7EC">Text here.</p>
This text has shadow with #F2F7EC color.
.textShadow {text-shadow: 3px 3px 1px #F2F7EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2F7EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2F7EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2F7EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2F7EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2F7EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2F7EC; -webkit-box-shadow: 1px 1px 3px 2px #F2F7EC; box-shadow: 1px 1px 3px 2px #F2F7EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2F7EC; -webkit-box-shadow: 1px 1px 3px 2px #F2F7EC; box-shadow:1px 1px 3px 2px #F2F7EC;">
Div content here</div>
This text has color #F2F7EC on black background.
This text has color #F2F7EC on white background.
This text has black color on #F2F7EC background.
This text has white color on #F2F7EC background.