HEX: #E4C1DC
RGB: (228,193,220)
#E4C1DC contains red, green and blue colors in about the same proportion. Web safe color of #E4C1DC is #CCCCCC (or #CCC).
#E4C1DC color RGB value is (228,193,220).
RGB: (228,193,220) (89%,76%,86%)
R 228 of 255 = 89%
G 193 of 255 = 76%
B 220 of 255 = 86%
R + G + B ~ 84%. #E4C1DC is quite light color.
R + G + B =
228 + 193 + 220 = 641 (100%)
R 228 of 641 ~ 35.57%
G 193 of 641 ~ 30.11%
B 220 of 641 ~ 34.32%
#E4C1DC color CMYK value is (0,15,4,11).
CMYK: (0,15,4,11) C0M15Y4K11 (0%,15%,4%,11%) (0.00/0.15/0.04/0.11)
E4 | C1 | DC | |
---|---|---|---|
RGB | 228 | 193 | 220 |
HSL | 314° | 39.33% | 82.55% |
HSB/HSV | 314° | 15.35% | 89.41% |
CMYK | 0.00% | 15.35% | 3.51% |
10.59% |
HEX | E4 | C1 | DC |
Decimal | 228 | 193 | 220 |
Binary | 11100100 | 11000001 | 11011100 |
Octal | 344 | 301 | 334 |
Examples of css and html codes for elements with #E4C1DC color. Also use rgb(228,193,220) instead hex code.
.myTextColor { color: #E4C1DC; }
<p style="color:#E4C1DC">This sample text font color is #E4C1DC.</p>
This text font color is #E4C1DC.
.myBgColor { background-color: #E4C1DC; }
<div style="background-color:#E4C1DC">Inner text</div>
This div background color is #E4C1DC.
.myBorderColor { border: 1px solid #E4C1DC; }
<div style="border:3px solid #E4C1DC">Div</div>
This div border color is #E4C1DC.
.myOpacity80 { color: #E4C1DC; opacity: 0.8; }
<p style="color:#E4C1DC;opacity:0.8;">80%</p>
Text with #E4C1DC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4C1DC;}
<p style="text-shadow: 3px 3px 1px #E4C1DC">Text here.</p>
This text has shadow with #E4C1DC color.
.textShadow {text-shadow: 3px 3px 1px #E4C1DC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4C1DC, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4C1DC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4C1DC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4C1DC, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4C1DC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4C1DC; -webkit-box-shadow: 1px 1px 3px 2px #E4C1DC; box-shadow: 1px 1px 3px 2px #E4C1DC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4C1DC; -webkit-box-shadow: 1px 1px 3px 2px #E4C1DC; box-shadow:1px 1px 3px 2px #E4C1DC;">
Div content here</div>
This text has color #E4C1DC on black background.
This text has color #E4C1DC on white background.
This text has black color on #E4C1DC background.
This text has white color on #E4C1DC background.