HEX: #DEF2CE
RGB: (222,242,206)
#DEF2CE contains red, green and blue colors in about the same proportion. Web safe color of #DEF2CE is #CCFFCC (or #CFC).
#DEF2CE color RGB value is (222,242,206).
RGB: (222,242,206) (87%,95%,81%)
R 222 of 255 = 87%
G 242 of 255 = 95%
B 206 of 255 = 81%
R + G + B ~ 88%. #DEF2CE is light color.
R + G + B =
222 + 242 + 206 = 670 (100%)
R 222 of 670 ~ 33.13%
G 242 of 670 ~ 36.12%
B 206 of 670 ~ 30.75%
#DEF2CE color CMYK value is (8,0,15,5).
CMYK: (8,0,15,5) C8M0Y15K5 (8%,0%,15%,5%) (0.08/0.00/0.15/0.05)
DE | F2 | CE | |
---|---|---|---|
RGB | 222 | 242 | 206 |
HSL | 93° | 58.06% | 87.84% |
HSB/HSV | 93° | 14.88% | 94.90% |
CMYK | 8.26% | 0.00% | 14.88% |
5.10% |
HEX | DE | F2 | CE |
Decimal | 222 | 242 | 206 |
Binary | 11011110 | 11110010 | 11001110 |
Octal | 336 | 362 | 316 |
Examples of css and html codes for elements with #DEF2CE color. Also use rgb(222,242,206) instead hex code.
.myTextColor { color: #DEF2CE; }
<p style="color:#DEF2CE">This sample text font color is #DEF2CE.</p>
This text font color is #DEF2CE.
.myBgColor { background-color: #DEF2CE; }
<div style="background-color:#DEF2CE">Inner text</div>
This div background color is #DEF2CE.
.myBorderColor { border: 1px solid #DEF2CE; }
<div style="border:3px solid #DEF2CE">Div</div>
This div border color is #DEF2CE.
.myOpacity80 { color: #DEF2CE; opacity: 0.8; }
<p style="color:#DEF2CE;opacity:0.8;">80%</p>
Text with #DEF2CE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF2CE;}
<p style="text-shadow: 3px 3px 1px #DEF2CE">Text here.</p>
This text has shadow with #DEF2CE color.
.textShadow {text-shadow: 3px 3px 1px #DEF2CE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF2CE, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF2CE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF2CE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF2CE, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF2CE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF2CE; -webkit-box-shadow: 1px 1px 3px 2px #DEF2CE; box-shadow: 1px 1px 3px 2px #DEF2CE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF2CE; -webkit-box-shadow: 1px 1px 3px 2px #DEF2CE; box-shadow:1px 1px 3px 2px #DEF2CE;">
Div content here</div>
This text has color #DEF2CE on black background.
This text has color #DEF2CE on white background.
This text has black color on #DEF2CE background.
This text has white color on #DEF2CE background.