HEX: #F2D7EC
RGB: (242,215,236)
#F2D7EC contains red, green and blue colors in about the same proportion. Web safe color of #F2D7EC is #FFCCFF (or #FCF).
#F2D7EC color RGB value is (242,215,236).
RGB: (242,215,236) (95%,84%,93%)
R 242 of 255 = 95%
G 215 of 255 = 84%
B 236 of 255 = 93%
R + G + B ~ 91%. #F2D7EC is light color.
R + G + B =
242 + 215 + 236 = 693 (100%)
R 242 of 693 ~ 34.92%
G 215 of 693 ~ 31.02%
B 236 of 693 ~ 34.05%
#F2D7EC color CMYK value is (0,11,2,5).
CMYK: (0,11,2,5) C0M11Y2K5 (0%,11%,2%,5%) (0.00/0.11/0.02/0.05)
F2 | D7 | EC | |
---|---|---|---|
RGB | 242 | 215 | 236 |
HSL | 313° | 50.94% | 89.61% |
HSB/HSV | 313° | 11.16% | 94.90% |
CMYK | 0.00% | 11.16% | 2.48% |
5.10% |
HEX | F2 | D7 | EC |
Decimal | 242 | 215 | 236 |
Binary | 11110010 | 11010111 | 11101100 |
Octal | 362 | 327 | 354 |
Examples of css and html codes for elements with #F2D7EC color. Also use rgb(242,215,236) instead hex code.
.myTextColor { color: #F2D7EC; }
<p style="color:#F2D7EC">This sample text font color is #F2D7EC.</p>
This text font color is #F2D7EC.
.myBgColor { background-color: #F2D7EC; }
<div style="background-color:#F2D7EC">Inner text</div>
This div background color is #F2D7EC.
.myBorderColor { border: 1px solid #F2D7EC; }
<div style="border:3px solid #F2D7EC">Div</div>
This div border color is #F2D7EC.
.myOpacity80 { color: #F2D7EC; opacity: 0.8; }
<p style="color:#F2D7EC;opacity:0.8;">80%</p>
Text with #F2D7EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D7EC;}
<p style="text-shadow: 3px 3px 1px #F2D7EC">Text here.</p>
This text has shadow with #F2D7EC color.
.textShadow {text-shadow: 3px 3px 1px #F2D7EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D7EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D7EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D7EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D7EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D7EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D7EC; -webkit-box-shadow: 1px 1px 3px 2px #F2D7EC; box-shadow: 1px 1px 3px 2px #F2D7EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D7EC; -webkit-box-shadow: 1px 1px 3px 2px #F2D7EC; box-shadow:1px 1px 3px 2px #F2D7EC;">
Div content here</div>
This text has color #F2D7EC on black background.
This text has color #F2D7EC on white background.
This text has black color on #F2D7EC background.
This text has white color on #F2D7EC background.