HEX: #E3A1E7
RGB: (227,161,231)
#E3A1E7 contains mainly red and blue colors. Web safe color of #E3A1E7 is #CC99FF (or #C9F).
#E3A1E7 color RGB value is (227,161,231).
RGB: (227,161,231) (89%,63%,91%)
R 227 of 255 = 89%
G 161 of 255 = 63%
B 231 of 255 = 91%
R + G + B ~ 81%. #E3A1E7 is quite light color.
R + G + B =
227 + 161 + 231 = 619 (100%)
R 227 of 619 ~ 36.67%
G 161 of 619 ~ 26.01%
B 231 of 619 ~ 37.32%
#E3A1E7 color CMYK value is (2,30,0,9).
CMYK: (2,30,0,9) C2M30Y0K9 (2%,30%,0%,9%) (0.02/0.30/0.00/0.09)
E3 | A1 | E7 | |
---|---|---|---|
RGB | 227 | 161 | 231 |
HSL | 297° | 59.32% | 76.86% |
HSB/HSV | 297° | 30.30% | 90.59% |
CMYK | 1.73% | 30.30% | 0.00% |
9.41% |
HEX | E3 | A1 | E7 |
Decimal | 227 | 161 | 231 |
Binary | 11100011 | 10100001 | 11100111 |
Octal | 343 | 241 | 347 |
Examples of css and html codes for elements with #E3A1E7 color. Also use rgb(227,161,231) instead hex code.
.myTextColor { color: #E3A1E7; }
<p style="color:#E3A1E7">This sample text font color is #E3A1E7.</p>
This text font color is #E3A1E7.
.myBgColor { background-color: #E3A1E7; }
<div style="background-color:#E3A1E7">Inner text</div>
This div background color is #E3A1E7.
.myBorderColor { border: 1px solid #E3A1E7; }
<div style="border:3px solid #E3A1E7">Div</div>
This div border color is #E3A1E7.
.myOpacity80 { color: #E3A1E7; opacity: 0.8; }
<p style="color:#E3A1E7;opacity:0.8;">80%</p>
Text with #E3A1E7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E3A1E7;}
<p style="text-shadow: 3px 3px 1px #E3A1E7">Text here.</p>
This text has shadow with #E3A1E7 color.
.textShadow {text-shadow: 3px 3px 1px #E3A1E7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E3A1E7, 5px 5px 20px red">Text here.</p>
This text has shadow with #E3A1E7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E3A1E7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E3A1E7, Direction=45, Strength=4)">Text</p>
This text has shadow with #E3A1E7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E3A1E7; -webkit-box-shadow: 1px 1px 3px 2px #E3A1E7; box-shadow: 1px 1px 3px 2px #E3A1E7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E3A1E7; -webkit-box-shadow: 1px 1px 3px 2px #E3A1E7; box-shadow:1px 1px 3px 2px #E3A1E7;">
Div content here</div>
This text has color #E3A1E7 on black background.
This text has color #E3A1E7 on white background.
This text has black color on #E3A1E7 background.
This text has white color on #E3A1E7 background.