HEX: #E4D4E7
RGB: (228,212,231)
#E4D4E7 contains red, green and blue colors in about the same proportion. Web safe color of #E4D4E7 is #CCCCFF (or #CCF).
#E4D4E7 color RGB value is (228,212,231).
RGB: (228,212,231) (89%,83%,91%)
R 228 of 255 = 89%
G 212 of 255 = 83%
B 231 of 255 = 91%
R + G + B ~ 88%. #E4D4E7 is light color.
R + G + B =
228 + 212 + 231 = 671 (100%)
R 228 of 671 ~ 33.98%
G 212 of 671 ~ 31.59%
B 231 of 671 ~ 34.43%
#E4D4E7 color CMYK value is (1,8,0,9).
CMYK: (1,8,0,9) C1M8Y0K9 (1%,8%,0%,9%) (0.01/0.08/0.00/0.09)
E4 | D4 | E7 | |
---|---|---|---|
RGB | 228 | 212 | 231 |
HSL | 291° | 28.36% | 86.86% |
HSB/HSV | 291° | 8.23% | 90.59% |
CMYK | 1.30% | 8.23% | 0.00% |
9.41% |
HEX | E4 | D4 | E7 |
Decimal | 228 | 212 | 231 |
Binary | 11100100 | 11010100 | 11100111 |
Octal | 344 | 324 | 347 |
Examples of css and html codes for elements with #E4D4E7 color. Also use rgb(228,212,231) instead hex code.
.myTextColor { color: #E4D4E7; }
<p style="color:#E4D4E7">This sample text font color is #E4D4E7.</p>
This text font color is #E4D4E7.
.myBgColor { background-color: #E4D4E7; }
<div style="background-color:#E4D4E7">Inner text</div>
This div background color is #E4D4E7.
.myBorderColor { border: 1px solid #E4D4E7; }
<div style="border:3px solid #E4D4E7">Div</div>
This div border color is #E4D4E7.
.myOpacity80 { color: #E4D4E7; opacity: 0.8; }
<p style="color:#E4D4E7;opacity:0.8;">80%</p>
Text with #E4D4E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4D4E7;}
<p style="text-shadow: 3px 3px 1px #E4D4E7">Text here.</p>
This text has shadow with #E4D4E7 color.
.textShadow {text-shadow: 3px 3px 1px #E4D4E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4D4E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4D4E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4D4E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4D4E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4D4E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4D4E7; -webkit-box-shadow: 1px 1px 3px 2px #E4D4E7; box-shadow: 1px 1px 3px 2px #E4D4E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4D4E7; -webkit-box-shadow: 1px 1px 3px 2px #E4D4E7; box-shadow:1px 1px 3px 2px #E4D4E7;">
Div content here</div>
This text has color #E4D4E7 on black background.
This text has color #E4D4E7 on white background.
This text has black color on #E4D4E7 background.
This text has white color on #E4D4E7 background.