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