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