HEX: #E2D8E7
RGB: (226,216,231)
#E2D8E7 contains red, green and blue colors in about the same proportion. Web safe color of #E2D8E7 is #CCCCFF (or #CCF).
#E2D8E7 color RGB value is (226,216,231).
RGB: (226,216,231) (89%,85%,91%)
R 226 of 255 = 89%
G 216 of 255 = 85%
B 231 of 255 = 91%
R + G + B ~ 88%. #E2D8E7 is light color.
R + G + B =
226 + 216 + 231 = 673 (100%)
R 226 of 673 ~ 33.58%
G 216 of 673 ~ 32.1%
B 231 of 673 ~ 34.32%
#E2D8E7 color CMYK value is (2,6,0,9).
CMYK: (2,6,0,9) C2M6Y0K9 (2%,6%,0%,9%) (0.02/0.06/0.00/0.09)
E2 | D8 | E7 | |
---|---|---|---|
RGB | 226 | 216 | 231 |
HSL | 280° | 23.81% | 87.65% |
HSB/HSV | 280° | 6.49% | 90.59% |
CMYK | 2.16% | 6.49% | 0.00% |
9.41% |
HEX | E2 | D8 | E7 |
Decimal | 226 | 216 | 231 |
Binary | 11100010 | 11011000 | 11100111 |
Octal | 342 | 330 | 347 |
Examples of css and html codes for elements with #E2D8E7 color. Also use rgb(226,216,231) instead hex code.
.myTextColor { color: #E2D8E7; }
<p style="color:#E2D8E7">This sample text font color is #E2D8E7.</p>
This text font color is #E2D8E7.
.myBgColor { background-color: #E2D8E7; }
<div style="background-color:#E2D8E7">Inner text</div>
This div background color is #E2D8E7.
.myBorderColor { border: 1px solid #E2D8E7; }
<div style="border:3px solid #E2D8E7">Div</div>
This div border color is #E2D8E7.
.myOpacity80 { color: #E2D8E7; opacity: 0.8; }
<p style="color:#E2D8E7;opacity:0.8;">80%</p>
Text with #E2D8E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2D8E7;}
<p style="text-shadow: 3px 3px 1px #E2D8E7">Text here.</p>
This text has shadow with #E2D8E7 color.
.textShadow {text-shadow: 3px 3px 1px #E2D8E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2D8E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2D8E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2D8E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2D8E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2D8E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2D8E7; -webkit-box-shadow: 1px 1px 3px 2px #E2D8E7; box-shadow: 1px 1px 3px 2px #E2D8E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2D8E7; -webkit-box-shadow: 1px 1px 3px 2px #E2D8E7; box-shadow:1px 1px 3px 2px #E2D8E7;">
Div content here</div>
This text has color #E2D8E7 on black background.
This text has color #E2D8E7 on white background.
This text has black color on #E2D8E7 background.
This text has white color on #E2D8E7 background.