HEX: #F2D8EE
RGB: (242,216,238)
#F2D8EE contains red, green and blue colors in about the same proportion. Web safe color of #F2D8EE is #FFCCFF (or #FCF).
#F2D8EE color RGB value is (242,216,238).
RGB: (242,216,238) (95%,85%,93%)
R 242 of 255 = 95%
G 216 of 255 = 85%
B 238 of 255 = 93%
R + G + B ~ 91%. #F2D8EE is light color.
R + G + B =
242 + 216 + 238 = 696 (100%)
R 242 of 696 ~ 34.77%
G 216 of 696 ~ 31.03%
B 238 of 696 ~ 34.2%
#F2D8EE 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 | D8 | EE | |
---|---|---|---|
RGB | 242 | 216 | 238 |
HSL | 309° | 50.00% | 89.80% |
HSB/HSV | 309° | 10.74% | 94.90% |
CMYK | 0.00% | 10.74% | 1.65% |
5.10% |
HEX | F2 | D8 | EE |
Decimal | 242 | 216 | 238 |
Binary | 11110010 | 11011000 | 11101110 |
Octal | 362 | 330 | 356 |
Examples of css and html codes for elements with #F2D8EE color. Also use rgb(242,216,238) instead hex code.
.myTextColor { color: #F2D8EE; }
<p style="color:#F2D8EE">This sample text font color is #F2D8EE.</p>
This text font color is #F2D8EE.
.myBgColor { background-color: #F2D8EE; }
<div style="background-color:#F2D8EE">Inner text</div>
This div background color is #F2D8EE.
.myBorderColor { border: 1px solid #F2D8EE; }
<div style="border:3px solid #F2D8EE">Div</div>
This div border color is #F2D8EE.
.myOpacity80 { color: #F2D8EE; opacity: 0.8; }
<p style="color:#F2D8EE;opacity:0.8;">80%</p>
Text with #F2D8EE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2D8EE;}
<p style="text-shadow: 3px 3px 1px #F2D8EE">Text here.</p>
This text has shadow with #F2D8EE color.
.textShadow {text-shadow: 3px 3px 1px #F2D8EE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2D8EE, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2D8EE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2D8EE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2D8EE, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2D8EE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2D8EE; -webkit-box-shadow: 1px 1px 3px 2px #F2D8EE; box-shadow: 1px 1px 3px 2px #F2D8EE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2D8EE; -webkit-box-shadow: 1px 1px 3px 2px #F2D8EE; box-shadow:1px 1px 3px 2px #F2D8EE;">
Div content here</div>
This text has color #F2D8EE on black background.
This text has color #F2D8EE on white background.
This text has black color on #F2D8EE background.
This text has white color on #F2D8EE background.