HEX: #DEF2EF
RGB: (222,242,239)
#DEF2EF contains red, green and blue colors in about the same proportion. Web safe color of #DEF2EF is #CCFFFF (or #CFF).
#DEF2EF color RGB value is (222,242,239).
RGB: (222,242,239) (87%,95%,94%)
R 222 of 255 = 87%
G 242 of 255 = 95%
B 239 of 255 = 94%
R + G + B ~ 92%. #DEF2EF is light color.
R + G + B =
222 + 242 + 239 = 703 (100%)
R 222 of 703 ~ 31.58%
G 242 of 703 ~ 34.42%
B 239 of 703 ~ 34%
#DEF2EF color CMYK value is (8,0,1,5).
CMYK: (8,0,1,5) C8M0Y1K5 (8%,0%,1%,5%) (0.08/0.00/0.01/0.05)
DE | F2 | EF | |
---|---|---|---|
RGB | 222 | 242 | 239 |
HSL | 171° | 43.48% | 90.98% |
HSB/HSV | 171° | 8.26% | 94.90% |
CMYK | 8.26% | 0.00% | 1.24% |
5.10% |
HEX | DE | F2 | EF |
Decimal | 222 | 242 | 239 |
Binary | 11011110 | 11110010 | 11101111 |
Octal | 336 | 362 | 357 |
Examples of css and html codes for elements with #DEF2EF color. Also use rgb(222,242,239) instead hex code.
.myTextColor { color: #DEF2EF; }
<p style="color:#DEF2EF">This sample text font color is #DEF2EF.</p>
This text font color is #DEF2EF.
.myBgColor { background-color: #DEF2EF; }
<div style="background-color:#DEF2EF">Inner text</div>
This div background color is #DEF2EF.
.myBorderColor { border: 1px solid #DEF2EF; }
<div style="border:3px solid #DEF2EF">Div</div>
This div border color is #DEF2EF.
.myOpacity80 { color: #DEF2EF; opacity: 0.8; }
<p style="color:#DEF2EF;opacity:0.8;">80%</p>
Text with #DEF2EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF2EF;}
<p style="text-shadow: 3px 3px 1px #DEF2EF">Text here.</p>
This text has shadow with #DEF2EF color.
.textShadow {text-shadow: 3px 3px 1px #DEF2EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF2EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF2EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF2EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF2EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF2EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF2EF; -webkit-box-shadow: 1px 1px 3px 2px #DEF2EF; box-shadow: 1px 1px 3px 2px #DEF2EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF2EF; -webkit-box-shadow: 1px 1px 3px 2px #DEF2EF; box-shadow:1px 1px 3px 2px #DEF2EF;">
Div content here</div>
This text has color #DEF2EF on black background.
This text has color #DEF2EF on white background.
This text has black color on #DEF2EF background.
This text has white color on #DEF2EF background.