HEX: #ECF1DC
RGB: (236,241,220)
#ECF1DC contains red, green and blue colors in about the same proportion. Web safe color of #ECF1DC is #FFFFCC (or #FFC).
#ECF1DC color RGB value is (236,241,220).
RGB: (236,241,220) (93%,95%,86%)
R 236 of 255 = 93%
G 241 of 255 = 95%
B 220 of 255 = 86%
R + G + B ~ 91%. #ECF1DC is light color.
R + G + B =
236 + 241 + 220 = 697 (100%)
R 236 of 697 ~ 33.86%
G 241 of 697 ~ 34.58%
B 220 of 697 ~ 31.56%
#ECF1DC color CMYK value is (2,0,9,5).
CMYK: (2,0,9,5) C2M0Y9K5 (2%,0%,9%,5%) (0.02/0.00/0.09/0.05)
EC | F1 | DC | |
---|---|---|---|
RGB | 236 | 241 | 220 |
HSL | 74° | 42.86% | 90.39% |
HSB/HSV | 74° | 8.71% | 94.51% |
CMYK | 2.07% | 0.00% | 8.71% |
5.49% |
HEX | EC | F1 | DC |
Decimal | 236 | 241 | 220 |
Binary | 11101100 | 11110001 | 11011100 |
Octal | 354 | 361 | 334 |
Examples of css and html codes for elements with #ECF1DC color. Also use rgb(236,241,220) instead hex code.
.myTextColor { color: #ECF1DC; }
<p style="color:#ECF1DC">This sample text font color is #ECF1DC.</p>
This text font color is #ECF1DC.
.myBgColor { background-color: #ECF1DC; }
<div style="background-color:#ECF1DC">Inner text</div>
This div background color is #ECF1DC.
.myBorderColor { border: 1px solid #ECF1DC; }
<div style="border:3px solid #ECF1DC">Div</div>
This div border color is #ECF1DC.
.myOpacity80 { color: #ECF1DC; opacity: 0.8; }
<p style="color:#ECF1DC;opacity:0.8;">80%</p>
Text with #ECF1DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECF1DC;}
<p style="text-shadow: 3px 3px 1px #ECF1DC">Text here.</p>
This text has shadow with #ECF1DC color.
.textShadow {text-shadow: 3px 3px 1px #ECF1DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECF1DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECF1DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECF1DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECF1DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECF1DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECF1DC; -webkit-box-shadow: 1px 1px 3px 2px #ECF1DC; box-shadow: 1px 1px 3px 2px #ECF1DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECF1DC; -webkit-box-shadow: 1px 1px 3px 2px #ECF1DC; box-shadow:1px 1px 3px 2px #ECF1DC;">
Div content here</div>
This text has color #ECF1DC on black background.
This text has color #ECF1DC on white background.
This text has black color on #ECF1DC background.
This text has white color on #ECF1DC background.