HEX: #F2D4EC
RGB: (242,212,236)
#F2D4EC contains red, green and blue colors in about the same proportion. Web safe color of #F2D4EC is #FFCCFF (or #FCF).
#F2D4EC color RGB value is (242,212,236).
RGB: (242,212,236) (95%,83%,93%)
R 242 of 255 = 95%
G 212 of 255 = 83%
B 236 of 255 = 93%
R + G + B ~ 90%. #F2D4EC is light color.
R + G + B =
242 + 212 + 236 = 690 (100%)
R 242 of 690 ~ 35.07%
G 212 of 690 ~ 30.72%
B 236 of 690 ~ 34.2%
#F2D4EC color CMYK value is (0,12,2,5).
CMYK: (0,12,2,5) C0M12Y2K5 (0%,12%,2%,5%) (0.00/0.12/0.02/0.05)
F2 | D4 | EC | |
---|---|---|---|
RGB | 242 | 212 | 236 |
HSL | 312° | 53.57% | 89.02% |
HSB/HSV | 312° | 12.40% | 94.90% |
CMYK | 0.00% | 12.40% | 2.48% |
5.10% |
HEX | F2 | D4 | EC |
Decimal | 242 | 212 | 236 |
Binary | 11110010 | 11010100 | 11101100 |
Octal | 362 | 324 | 354 |
Examples of css and html codes for elements with #F2D4EC color. Also use rgb(242,212,236) instead hex code.
.myTextColor { color: #F2D4EC; }
<p style="color:#F2D4EC">This sample text font color is #F2D4EC.</p>
This text font color is #F2D4EC.
.myBgColor { background-color: #F2D4EC; }
<div style="background-color:#F2D4EC">Inner text</div>
This div background color is #F2D4EC.
.myBorderColor { border: 1px solid #F2D4EC; }
<div style="border:3px solid #F2D4EC">Div</div>
This div border color is #F2D4EC.
.myOpacity80 { color: #F2D4EC; opacity: 0.8; }
<p style="color:#F2D4EC;opacity:0.8;">80%</p>
Text with #F2D4EC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D4EC;}
<p style="text-shadow: 3px 3px 1px #F2D4EC">Text here.</p>
This text has shadow with #F2D4EC color.
.textShadow {text-shadow: 3px 3px 1px #F2D4EC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D4EC, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D4EC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D4EC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D4EC, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D4EC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D4EC; -webkit-box-shadow: 1px 1px 3px 2px #F2D4EC; box-shadow: 1px 1px 3px 2px #F2D4EC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D4EC; -webkit-box-shadow: 1px 1px 3px 2px #F2D4EC; box-shadow:1px 1px 3px 2px #F2D4EC;">
Div content here</div>
This text has color #F2D4EC on black background.
This text has color #F2D4EC on white background.
This text has black color on #F2D4EC background.
This text has white color on #F2D4EC background.