HEX: #F2DEFF
RGB: (242,222,255)
#F2DEFF contains red, green and blue colors in about the same proportion. Web safe color of #F2DEFF is #FFCCFF (or #FCF).
#F2DEFF color RGB value is (242,222,255).
RGB: (242,222,255) (95%,87%,100%)
R 242 of 255 = 95%
G 222 of 255 = 87%
B 255 of 255 = 100%
R + G + B ~ 94%. #F2DEFF is light color.
R + G + B =
242 + 222 + 255 = 719 (100%)
R 242 of 719 ~ 33.66%
G 222 of 719 ~ 30.88%
B 255 of 719 ~ 35.47%
#F2DEFF color CMYK value is (5,13,0,0).
CMYK: (5,13,0,0) C5M13Y0K0 (5%,13%,0%,0%) (0.05/0.13/0.00/0.00)
F2 | DE | FF | |
---|---|---|---|
RGB | 242 | 222 | 255 |
HSL | 276° | 100.00% | 93.53% |
HSB/HSV | 276° | 12.94% | 100.00% |
CMYK | 5.10% | 12.94% | 0.00% |
0.00% |
HEX | F2 | DE | FF |
Decimal | 242 | 222 | 255 |
Binary | 11110010 | 11011110 | 11111111 |
Octal | 362 | 336 | 377 |
Examples of css and html codes for elements with #F2DEFF color. Also use rgb(242,222,255) instead hex code.
.myTextColor { color: #F2DEFF; }
<p style="color:#F2DEFF">This sample text font color is #F2DEFF.</p>
This text font color is #F2DEFF.
.myBgColor { background-color: #F2DEFF; }
<div style="background-color:#F2DEFF">Inner text</div>
This div background color is #F2DEFF.
.myBorderColor { border: 1px solid #F2DEFF; }
<div style="border:3px solid #F2DEFF">Div</div>
This div border color is #F2DEFF.
.myOpacity80 { color: #F2DEFF; opacity: 0.8; }
<p style="color:#F2DEFF;opacity:0.8;">80%</p>
Text with #F2DEFF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #F2DEFF;}
<p style="text-shadow: 3px 3px 1px #F2DEFF">Text here.</p>
This text has shadow with #F2DEFF color.
.textShadow {text-shadow: 3px 3px 1px #F2DEFF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #F2DEFF, 5px 5px 20px red">Text here.</p>
This text has shadow with #F2DEFF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#F2DEFF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#F2DEFF, Direction=45, Strength=4)">Text</p>
This text has shadow with #F2DEFF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #F2DEFF; -webkit-box-shadow: 1px 1px 3px 2px #F2DEFF; box-shadow: 1px 1px 3px 2px #F2DEFF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #F2DEFF; -webkit-box-shadow: 1px 1px 3px 2px #F2DEFF; box-shadow:1px 1px 3px 2px #F2DEFF;">
Div content here</div>
This text has color #F2DEFF on black background.
This text has color #F2DEFF on white background.
This text has black color on #F2DEFF background.
This text has white color on #F2DEFF background.