HEX: #E4A7EF
RGB: (228,167,239)
#E4A7EF contains mainly red and blue colors. Web safe color of #E4A7EF is #CC99FF (or #C9F).
#E4A7EF color RGB value is (228,167,239).
RGB: (228,167,239) (89%,65%,94%)
R 228 of 255 = 89%
G 167 of 255 = 65%
B 239 of 255 = 94%
R + G + B ~ 83%. #E4A7EF is quite light color.
R + G + B =
228 + 167 + 239 = 634 (100%)
R 228 of 634 ~ 35.96%
G 167 of 634 ~ 26.34%
B 239 of 634 ~ 37.7%
#E4A7EF color CMYK value is (5,30,0,6).
CMYK: (5,30,0,6) C5M30Y0K6 (5%,30%,0%,6%) (0.05/0.30/0.00/0.06)
E4 | A7 | EF | |
---|---|---|---|
RGB | 228 | 167 | 239 |
HSL | 291° | 69.23% | 79.61% |
HSB/HSV | 291° | 30.13% | 93.73% |
CMYK | 4.60% | 30.13% | 0.00% |
6.27% |
HEX | E4 | A7 | EF |
Decimal | 228 | 167 | 239 |
Binary | 11100100 | 10100111 | 11101111 |
Octal | 344 | 247 | 357 |
Examples of css and html codes for elements with #E4A7EF color. Also use rgb(228,167,239) instead hex code.
.myTextColor { color: #E4A7EF; }
<p style="color:#E4A7EF">This sample text font color is #E4A7EF.</p>
This text font color is #E4A7EF.
.myBgColor { background-color: #E4A7EF; }
<div style="background-color:#E4A7EF">Inner text</div>
This div background color is #E4A7EF.
.myBorderColor { border: 1px solid #E4A7EF; }
<div style="border:3px solid #E4A7EF">Div</div>
This div border color is #E4A7EF.
.myOpacity80 { color: #E4A7EF; opacity: 0.8; }
<p style="color:#E4A7EF;opacity:0.8;">80%</p>
Text with #E4A7EF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4A7EF;}
<p style="text-shadow: 3px 3px 1px #E4A7EF">Text here.</p>
This text has shadow with #E4A7EF color.
.textShadow {text-shadow: 3px 3px 1px #E4A7EF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4A7EF, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4A7EF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4A7EF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4A7EF, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4A7EF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4A7EF; -webkit-box-shadow: 1px 1px 3px 2px #E4A7EF; box-shadow: 1px 1px 3px 2px #E4A7EF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4A7EF; -webkit-box-shadow: 1px 1px 3px 2px #E4A7EF; box-shadow:1px 1px 3px 2px #E4A7EF;">
Div content here</div>
This text has color #E4A7EF on black background.
This text has color #E4A7EF on white background.
This text has black color on #E4A7EF background.
This text has white color on #E4A7EF background.