HEX: #DCF0AE
RGB: (220,240,174)
#DCF0AE contains mainly red and green colors. Web safe color of #DCF0AE is #CCFF99 (or #CF9).
#DCF0AE color RGB value is (220,240,174).
RGB: (220,240,174) (86%,94%,68%)
R 220 of 255 = 86%
G 240 of 255 = 94%
B 174 of 255 = 68%
R + G + B ~ 83%. #DCF0AE is quite light color.
R + G + B =
220 + 240 + 174 = 634 (100%)
R 220 of 634 ~ 34.7%
G 240 of 634 ~ 37.85%
B 174 of 634 ~ 27.44%
#DCF0AE 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)
DC | F0 | AE | |
---|---|---|---|
RGB | 220 | 240 | 174 |
HSL | 78° | 68.75% | 81.18% |
HSB/HSV | 78° | 27.50% | 94.12% |
CMYK | 8.33% | 0.00% | 27.50% |
5.88% |
HEX | DC | F0 | AE |
Decimal | 220 | 240 | 174 |
Binary | 11011100 | 11110000 | 10101110 |
Octal | 334 | 360 | 256 |
Examples of css and html codes for elements with #DCF0AE color. Also use rgb(220,240,174) instead hex code.
.myTextColor { color: #DCF0AE; }
<p style="color:#DCF0AE">This sample text font color is #DCF0AE.</p>
This text font color is #DCF0AE.
.myBgColor { background-color: #DCF0AE; }
<div style="background-color:#DCF0AE">Inner text</div>
This div background color is #DCF0AE.
.myBorderColor { border: 1px solid #DCF0AE; }
<div style="border:3px solid #DCF0AE">Div</div>
This div border color is #DCF0AE.
.myOpacity80 { color: #DCF0AE; opacity: 0.8; }
<p style="color:#DCF0AE;opacity:0.8;">80%</p>
Text with #DCF0AE color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCF0AE;}
<p style="text-shadow: 3px 3px 1px #DCF0AE">Text here.</p>
This text has shadow with #DCF0AE color.
.textShadow {text-shadow: 3px 3px 1px #DCF0AE, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCF0AE, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCF0AE primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCF0AE, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCF0AE, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCF0AE and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCF0AE; -webkit-box-shadow: 1px 1px 3px 2px #DCF0AE; box-shadow: 1px 1px 3px 2px #DCF0AE; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCF0AE; -webkit-box-shadow: 1px 1px 3px 2px #DCF0AE; box-shadow:1px 1px 3px 2px #DCF0AE;">
Div content here</div>
This text has color #DCF0AE on black background.
This text has color #DCF0AE on white background.
This text has black color on #DCF0AE background.
This text has white color on #DCF0AE background.