HEX: #E4A0E1
RGB: (228,160,225)
#E4A0E1 contains mainly red and blue colors. Web safe color of #E4A0E1 is #CC99CC (or #C9C).
#E4A0E1 color RGB value is (228,160,225).
RGB: (228,160,225) (89%,63%,88%)
R 228 of 255 = 89%
G 160 of 255 = 63%
B 225 of 255 = 88%
R + G + B ~ 80%. #E4A0E1 is quite light color.
R + G + B =
228 + 160 + 225 = 613 (100%)
R 228 of 613 ~ 37.19%
G 160 of 613 ~ 26.1%
B 225 of 613 ~ 36.7%
#E4A0E1 color CMYK value is (0,30,1,11).
CMYK: (0,30,1,11) C0M30Y1K11 (0%,30%,1%,11%) (0.00/0.30/0.01/0.11)
E4 | A0 | E1 | |
---|---|---|---|
RGB | 228 | 160 | 225 |
HSL | 303° | 55.74% | 76.08% |
HSB/HSV | 303° | 29.82% | 89.41% |
CMYK | 0.00% | 29.82% | 1.32% |
10.59% |
HEX | E4 | A0 | E1 |
Decimal | 228 | 160 | 225 |
Binary | 11100100 | 10100000 | 11100001 |
Octal | 344 | 240 | 341 |
Examples of css and html codes for elements with #E4A0E1 color. Also use rgb(228,160,225) instead hex code.
.myTextColor { color: #E4A0E1; }
<p style="color:#E4A0E1">This sample text font color is #E4A0E1.</p>
This text font color is #E4A0E1.
.myBgColor { background-color: #E4A0E1; }
<div style="background-color:#E4A0E1">Inner text</div>
This div background color is #E4A0E1.
.myBorderColor { border: 1px solid #E4A0E1; }
<div style="border:3px solid #E4A0E1">Div</div>
This div border color is #E4A0E1.
.myOpacity80 { color: #E4A0E1; opacity: 0.8; }
<p style="color:#E4A0E1;opacity:0.8;">80%</p>
Text with #E4A0E1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E4A0E1;}
<p style="text-shadow: 3px 3px 1px #E4A0E1">Text here.</p>
This text has shadow with #E4A0E1 color.
.textShadow {text-shadow: 3px 3px 1px #E4A0E1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E4A0E1, 5px 5px 20px red">Text here.</p>
This text has shadow with #E4A0E1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E4A0E1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E4A0E1, Direction=45, Strength=4)">Text</p>
This text has shadow with #E4A0E1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E4A0E1; -webkit-box-shadow: 1px 1px 3px 2px #E4A0E1; box-shadow: 1px 1px 3px 2px #E4A0E1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E4A0E1; -webkit-box-shadow: 1px 1px 3px 2px #E4A0E1; box-shadow:1px 1px 3px 2px #E4A0E1;">
Div content here</div>
This text has color #E4A0E1 on black background.
This text has color #E4A0E1 on white background.
This text has black color on #E4A0E1 background.
This text has white color on #E4A0E1 background.