HEX: #E4D8FA
RGB: (228,216,250)
#E4D8FA contains red, green and blue colors in about the same proportion. Web safe color of #E4D8FA is #CCCCFF (or #CCF).
#E4D8FA color RGB value is (228,216,250).
RGB: (228,216,250) (89%,85%,98%)
R 228 of 255 = 89%
G 216 of 255 = 85%
B 250 of 255 = 98%
R + G + B ~ 91%. #E4D8FA is light color.
R + G + B =
228 + 216 + 250 = 694 (100%)
R 228 of 694 ~ 32.85%
G 216 of 694 ~ 31.12%
B 250 of 694 ~ 36.02%
#E4D8FA color CMYK value is (9,14,0,2).
CMYK: (9,14,0,2) C9M14Y0K2 (9%,14%,0%,2%) (0.09/0.14/0.00/0.02)
E4 | D8 | FA | |
---|---|---|---|
RGB | 228 | 216 | 250 |
HSL | 261° | 77.27% | 91.37% |
HSB/HSV | 261° | 13.60% | 98.04% |
CMYK | 8.80% | 13.60% | 0.00% |
1.96% |
HEX | E4 | D8 | FA |
Decimal | 228 | 216 | 250 |
Binary | 11100100 | 11011000 | 11111010 |
Octal | 344 | 330 | 372 |
Examples of css and html codes for elements with #E4D8FA color. Also use rgb(228,216,250) instead hex code.
.myTextColor { color: #E4D8FA; }
<p style="color:#E4D8FA">This sample text font color is #E4D8FA.</p>
This text font color is #E4D8FA.
.myBgColor { background-color: #E4D8FA; }
<div style="background-color:#E4D8FA">Inner text</div>
This div background color is #E4D8FA.
.myBorderColor { border: 1px solid #E4D8FA; }
<div style="border:3px solid #E4D8FA">Div</div>
This div border color is #E4D8FA.
.myOpacity80 { color: #E4D8FA; opacity: 0.8; }
<p style="color:#E4D8FA;opacity:0.8;">80%</p>
Text with #E4D8FA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4D8FA;}
<p style="text-shadow: 3px 3px 1px #E4D8FA">Text here.</p>
This text has shadow with #E4D8FA color.
.textShadow {text-shadow: 3px 3px 1px #E4D8FA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4D8FA, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4D8FA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4D8FA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4D8FA, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4D8FA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4D8FA; -webkit-box-shadow: 1px 1px 3px 2px #E4D8FA; box-shadow: 1px 1px 3px 2px #E4D8FA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4D8FA; -webkit-box-shadow: 1px 1px 3px 2px #E4D8FA; box-shadow:1px 1px 3px 2px #E4D8FA;">
Div content here</div>
This text has color #E4D8FA on black background.
This text has color #E4D8FA on white background.
This text has black color on #E4D8FA background.
This text has white color on #E4D8FA background.