HEX: #ECB6DC
RGB: (236,182,220)
#ECB6DC contains red, green and blue colors in about the same proportion. Web safe color of #ECB6DC is #FFCCCC (or #FCC).
#ECB6DC color RGB value is (236,182,220).
RGB: (236,182,220) (93%,71%,86%)
R 236 of 255 = 93%
G 182 of 255 = 71%
B 220 of 255 = 86%
R + G + B ~ 83%. #ECB6DC is quite light color.
R + G + B =
236 + 182 + 220 = 638 (100%)
R 236 of 638 ~ 36.99%
G 182 of 638 ~ 28.53%
B 220 of 638 ~ 34.48%
#ECB6DC color CMYK value is (0,23,7,7).
CMYK: (0,23,7,7) C0M23Y7K7 (0%,23%,7%,7%) (0.00/0.23/0.07/0.07)
EC | B6 | DC | |
---|---|---|---|
RGB | 236 | 182 | 220 |
HSL | 318° | 58.70% | 81.96% |
HSB/HSV | 318° | 22.88% | 92.55% |
CMYK | 0.00% | 22.88% | 6.78% |
7.45% |
HEX | EC | B6 | DC |
Decimal | 236 | 182 | 220 |
Binary | 11101100 | 10110110 | 11011100 |
Octal | 354 | 266 | 334 |
Examples of css and html codes for elements with #ECB6DC color. Also use rgb(236,182,220) instead hex code.
.myTextColor { color: #ECB6DC; }
<p style="color:#ECB6DC">This sample text font color is #ECB6DC.</p>
This text font color is #ECB6DC.
.myBgColor { background-color: #ECB6DC; }
<div style="background-color:#ECB6DC">Inner text</div>
This div background color is #ECB6DC.
.myBorderColor { border: 1px solid #ECB6DC; }
<div style="border:3px solid #ECB6DC">Div</div>
This div border color is #ECB6DC.
.myOpacity80 { color: #ECB6DC; opacity: 0.8; }
<p style="color:#ECB6DC;opacity:0.8;">80%</p>
Text with #ECB6DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #ECB6DC;}
<p style="text-shadow: 3px 3px 1px #ECB6DC">Text here.</p>
This text has shadow with #ECB6DC color.
.textShadow {text-shadow: 3px 3px 1px #ECB6DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #ECB6DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #ECB6DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#ECB6DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#ECB6DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #ECB6DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #ECB6DC; -webkit-box-shadow: 1px 1px 3px 2px #ECB6DC; box-shadow: 1px 1px 3px 2px #ECB6DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #ECB6DC; -webkit-box-shadow: 1px 1px 3px 2px #ECB6DC; box-shadow:1px 1px 3px 2px #ECB6DC;">
Div content here</div>
This text has color #ECB6DC on black background.
This text has color #ECB6DC on white background.
This text has black color on #ECB6DC background.
This text has white color on #ECB6DC background.