HEX: #DCF0CC
RGB: (220,240,204)
#DCF0CC contains red, green and blue colors in about the same proportion. Web safe color of #DCF0CC is #CCFFCC (or #CFC).
#DCF0CC color RGB value is (220,240,204).
RGB: (220,240,204) (86%,94%,80%)
R 220 of 255 = 86%
G 240 of 255 = 94%
B 204 of 255 = 80%
R + G + B ~ 87%. #DCF0CC is light color.
R + G + B =
220 + 240 + 204 = 664 (100%)
R 220 of 664 ~ 33.13%
G 240 of 664 ~ 36.14%
B 204 of 664 ~ 30.72%
#DCF0CC color CMYK value is (8,0,15,6).
CMYK: (8,0,15,6) C8M0Y15K6 (8%,0%,15%,6%) (0.08/0.00/0.15/0.06)
DC | F0 | CC | |
---|---|---|---|
RGB | 220 | 240 | 204 |
HSL | 93° | 54.55% | 87.06% |
HSB/HSV | 93° | 15.00% | 94.12% |
CMYK | 8.33% | 0.00% | 15.00% |
5.88% |
HEX | DC | F0 | CC |
Decimal | 220 | 240 | 204 |
Binary | 11011100 | 11110000 | 11001100 |
Octal | 334 | 360 | 314 |
Examples of css and html codes for elements with #DCF0CC color. Also use rgb(220,240,204) instead hex code.
.myTextColor { color: #DCF0CC; }
<p style="color:#DCF0CC">This sample text font color is #DCF0CC.</p>
This text font color is #DCF0CC.
.myBgColor { background-color: #DCF0CC; }
<div style="background-color:#DCF0CC">Inner text</div>
This div background color is #DCF0CC.
.myBorderColor { border: 1px solid #DCF0CC; }
<div style="border:3px solid #DCF0CC">Div</div>
This div border color is #DCF0CC.
.myOpacity80 { color: #DCF0CC; opacity: 0.8; }
<p style="color:#DCF0CC;opacity:0.8;">80%</p>
Text with #DCF0CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #DCF0CC;}
<p style="text-shadow: 3px 3px 1px #DCF0CC">Text here.</p>
This text has shadow with #DCF0CC color.
.textShadow {text-shadow: 3px 3px 1px #DCF0CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #DCF0CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #DCF0CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#DCF0CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#DCF0CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #DCF0CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #DCF0CC; -webkit-box-shadow: 1px 1px 3px 2px #DCF0CC; box-shadow: 1px 1px 3px 2px #DCF0CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #DCF0CC; -webkit-box-shadow: 1px 1px 3px 2px #DCF0CC; box-shadow:1px 1px 3px 2px #DCF0CC;">
Div content here</div>
This text has color #DCF0CC on black background.
This text has color #DCF0CC on white background.
This text has black color on #DCF0CC background.
This text has white color on #DCF0CC background.