HEX: #DEF0AD
RGB: (222,240,173)
#DEF0AD contains mainly red and green colors. Web safe color of #DEF0AD is #CCFF99 (or #CF9).
#DEF0AD color RGB value is (222,240,173).
RGB: (222,240,173) (87%,94%,68%)
R 222 of 255 = 87%
G 240 of 255 = 94%
B 173 of 255 = 68%
R + G + B ~ 83%. #DEF0AD is quite light color.
R + G + B =
222 + 240 + 173 = 635 (100%)
R 222 of 635 ~ 34.96%
G 240 of 635 ~ 37.8%
B 173 of 635 ~ 27.24%
#DEF0AD color CMYK value is (8,0,28,6).
CMYK: (8,0,28,6) C8M0Y28K6 (8%,0%,28%,6%) (0.08/0.00/0.28/0.06)
DE | F0 | AD | |
---|---|---|---|
RGB | 222 | 240 | 173 |
HSL | 76° | 69.07% | 80.98% |
HSB/HSV | 76° | 27.92% | 94.12% |
CMYK | 7.50% | 0.00% | 27.92% |
5.88% |
HEX | DE | F0 | AD |
Decimal | 222 | 240 | 173 |
Binary | 11011110 | 11110000 | 10101101 |
Octal | 336 | 360 | 255 |
Examples of css and html codes for elements with #DEF0AD color. Also use rgb(222,240,173) instead hex code.
.myTextColor { color: #DEF0AD; }
<p style="color:#DEF0AD">This sample text font color is #DEF0AD.</p>
This text font color is #DEF0AD.
.myBgColor { background-color: #DEF0AD; }
<div style="background-color:#DEF0AD">Inner text</div>
This div background color is #DEF0AD.
.myBorderColor { border: 1px solid #DEF0AD; }
<div style="border:3px solid #DEF0AD">Div</div>
This div border color is #DEF0AD.
.myOpacity80 { color: #DEF0AD; opacity: 0.8; }
<p style="color:#DEF0AD;opacity:0.8;">80%</p>
Text with #DEF0AD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DEF0AD;}
<p style="text-shadow: 3px 3px 1px #DEF0AD">Text here.</p>
This text has shadow with #DEF0AD color.
.textShadow {text-shadow: 3px 3px 1px #DEF0AD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DEF0AD, 5px 5px 20px red">Text here.</p>
This text has shadow with #DEF0AD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DEF0AD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DEF0AD, Direction=45, Strength=4)">Text</p>
This text has shadow with #DEF0AD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DEF0AD; -webkit-box-shadow: 1px 1px 3px 2px #DEF0AD; box-shadow: 1px 1px 3px 2px #DEF0AD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DEF0AD; -webkit-box-shadow: 1px 1px 3px 2px #DEF0AD; box-shadow:1px 1px 3px 2px #DEF0AD;">
Div content here</div>
This text has color #DEF0AD on black background.
This text has color #DEF0AD on white background.
This text has black color on #DEF0AD background.
This text has white color on #DEF0AD background.