HEX: #E2AFF6
RGB: (226,175,246)
#E2AFF6 contains mainly red and blue colors. Web safe color of #E2AFF6 is #CC99FF (or #C9F).
#E2AFF6 color RGB value is (226,175,246).
RGB: (226,175,246) (89%,69%,96%)
R 226 of 255 = 89%
G 175 of 255 = 69%
B 246 of 255 = 96%
R + G + B ~ 85%. #E2AFF6 is quite light color.
R + G + B =
226 + 175 + 246 = 647 (100%)
R 226 of 647 ~ 34.93%
G 175 of 647 ~ 27.05%
B 246 of 647 ~ 38.02%
#E2AFF6 color CMYK value is (8,29,0,4).
CMYK: (8,29,0,4) C8M29Y0K4 (8%,29%,0%,4%) (0.08/0.29/0.00/0.04)
E2 | AF | F6 | |
---|---|---|---|
RGB | 226 | 175 | 246 |
HSL | 283° | 79.78% | 82.55% |
HSB/HSV | 283° | 28.86% | 96.47% |
CMYK | 8.13% | 28.86% | 0.00% |
3.53% |
HEX | E2 | AF | F6 |
Decimal | 226 | 175 | 246 |
Binary | 11100010 | 10101111 | 11110110 |
Octal | 342 | 257 | 366 |
Examples of css and html codes for elements with #E2AFF6 color. Also use rgb(226,175,246) instead hex code.
.myTextColor { color: #E2AFF6; }
<p style="color:#E2AFF6">This sample text font color is #E2AFF6.</p>
This text font color is #E2AFF6.
.myBgColor { background-color: #E2AFF6; }
<div style="background-color:#E2AFF6">Inner text</div>
This div background color is #E2AFF6.
.myBorderColor { border: 1px solid #E2AFF6; }
<div style="border:3px solid #E2AFF6">Div</div>
This div border color is #E2AFF6.
.myOpacity80 { color: #E2AFF6; opacity: 0.8; }
<p style="color:#E2AFF6;opacity:0.8;">80%</p>
Text with #E2AFF6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2AFF6;}
<p style="text-shadow: 3px 3px 1px #E2AFF6">Text here.</p>
This text has shadow with #E2AFF6 color.
.textShadow {text-shadow: 3px 3px 1px #E2AFF6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2AFF6, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2AFF6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2AFF6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2AFF6, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2AFF6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2AFF6; -webkit-box-shadow: 1px 1px 3px 2px #E2AFF6; box-shadow: 1px 1px 3px 2px #E2AFF6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2AFF6; -webkit-box-shadow: 1px 1px 3px 2px #E2AFF6; box-shadow:1px 1px 3px 2px #E2AFF6;">
Div content here</div>
This text has color #E2AFF6 on black background.
This text has color #E2AFF6 on white background.
This text has black color on #E2AFF6 background.
This text has white color on #E2AFF6 background.