HEX: #DEF6D5
RGB: (222,246,213)
#DEF6D5 contains red, green and blue colors in about the same proportion. Web safe color of #DEF6D5 is #CCFFCC (or #CFC).
#DEF6D5 color RGB value is (222,246,213).
RGB: (222,246,213) (87%,96%,84%)
R 222 of 255 = 87%
G 246 of 255 = 96%
B 213 of 255 = 84%
R + G + B ~ 89%. #DEF6D5 is light color.
R + G + B =
222 + 246 + 213 = 681 (100%)
R 222 of 681 ~ 32.6%
G 246 of 681 ~ 36.12%
B 213 of 681 ~ 31.28%
#DEF6D5 color CMYK value is (10,0,13,4).
CMYK: (10,0,13,4) C10M0Y13K4 (10%,0%,13%,4%) (0.10/0.00/0.13/0.04)
DE | F6 | D5 | |
---|---|---|---|
RGB | 222 | 246 | 213 |
HSL | 104° | 64.71% | 90.00% |
HSB/HSV | 104° | 13.41% | 96.47% |
CMYK | 9.76% | 0.00% | 13.41% |
3.53% |
HEX | DE | F6 | D5 |
Decimal | 222 | 246 | 213 |
Binary | 11011110 | 11110110 | 11010101 |
Octal | 336 | 366 | 325 |
Examples of css and html codes for elements with #DEF6D5 color. Also use rgb(222,246,213) instead hex code.
.myTextColor { color: #DEF6D5; }
<p style="color:#DEF6D5">This sample text font color is #DEF6D5.</p>
This text font color is #DEF6D5.
.myBgColor { background-color: #DEF6D5; }
<div style="background-color:#DEF6D5">Inner text</div>
This div background color is #DEF6D5.
.myBorderColor { border: 1px solid #DEF6D5; }
<div style="border:3px solid #DEF6D5">Div</div>
This div border color is #DEF6D5.
.myOpacity80 { color: #DEF6D5; opacity: 0.8; }
<p style="color:#DEF6D5;opacity:0.8;">80%</p>
Text with #DEF6D5 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF6D5;}
<p style="text-shadow: 3px 3px 1px #DEF6D5">Text here.</p>
This text has shadow with #DEF6D5 color.
.textShadow {text-shadow: 3px 3px 1px #DEF6D5, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF6D5, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF6D5 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF6D5, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF6D5, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF6D5 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF6D5; -webkit-box-shadow: 1px 1px 3px 2px #DEF6D5; box-shadow: 1px 1px 3px 2px #DEF6D5; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF6D5; -webkit-box-shadow: 1px 1px 3px 2px #DEF6D5; box-shadow:1px 1px 3px 2px #DEF6D5;">
Div content here</div>
This text has color #DEF6D5 on black background.
This text has color #DEF6D5 on white background.
This text has black color on #DEF6D5 background.
This text has white color on #DEF6D5 background.