HEX: #DEF0DE
RGB: (222,240,222)
#DEF0DE contains red, green and blue colors in about the same proportion. Web safe color of #DEF0DE is #CCFFCC (or #CFC).
#DEF0DE color RGB value is (222,240,222).
RGB: (222,240,222) (87%,94%,87%)
R 222 of 255 = 87%
G 240 of 255 = 94%
B 222 of 255 = 87%
R + G + B ~ 89%. #DEF0DE is light color.
R + G + B =
222 + 240 + 222 = 684 (100%)
R 222 of 684 ~ 32.46%
G 240 of 684 ~ 35.09%
B 222 of 684 ~ 32.46%
#DEF0DE color CMYK value is (8,0,8,6).
CMYK: (8,0,8,6) C8M0Y8K6 (8%,0%,8%,6%) (0.08/0.00/0.08/0.06)
DE | F0 | DE | |
---|---|---|---|
RGB | 222 | 240 | 222 |
HSL | 120° | 37.50% | 90.59% |
HSB/HSV | 120° | 7.50% | 94.12% |
CMYK | 7.50% | 0.00% | 7.50% |
5.88% |
HEX | DE | F0 | DE |
Decimal | 222 | 240 | 222 |
Binary | 11011110 | 11110000 | 11011110 |
Octal | 336 | 360 | 336 |
Examples of css and html codes for elements with #DEF0DE color. Also use rgb(222,240,222) instead hex code.
.myTextColor { color: #DEF0DE; }
<p style="color:#DEF0DE">This sample text font color is #DEF0DE.</p>
This text font color is #DEF0DE.
.myBgColor { background-color: #DEF0DE; }
<div style="background-color:#DEF0DE">Inner text</div>
This div background color is #DEF0DE.
.myBorderColor { border: 1px solid #DEF0DE; }
<div style="border:3px solid #DEF0DE">Div</div>
This div border color is #DEF0DE.
.myOpacity80 { color: #DEF0DE; opacity: 0.8; }
<p style="color:#DEF0DE;opacity:0.8;">80%</p>
Text with #DEF0DE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF0DE;}
<p style="text-shadow: 3px 3px 1px #DEF0DE">Text here.</p>
This text has shadow with #DEF0DE color.
.textShadow {text-shadow: 3px 3px 1px #DEF0DE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF0DE, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF0DE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF0DE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF0DE, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF0DE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF0DE; -webkit-box-shadow: 1px 1px 3px 2px #DEF0DE; box-shadow: 1px 1px 3px 2px #DEF0DE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF0DE; -webkit-box-shadow: 1px 1px 3px 2px #DEF0DE; box-shadow:1px 1px 3px 2px #DEF0DE;">
Div content here</div>
This text has color #DEF0DE on black background.
This text has color #DEF0DE on white background.
This text has black color on #DEF0DE background.
This text has white color on #DEF0DE background.