HEX: #E2A6FC
RGB: (226,166,252)
#E2A6FC contains mainly red and blue colors. Web safe color of #E2A6FC is #CC99FF (or #C9F).
#E2A6FC color RGB value is (226,166,252).
RGB: (226,166,252) (89%,65%,99%)
R 226 of 255 = 89%
G 166 of 255 = 65%
B 252 of 255 = 99%
R + G + B ~ 84%. #E2A6FC is quite light color.
R + G + B =
226 + 166 + 252 = 644 (100%)
R 226 of 644 ~ 35.09%
G 166 of 644 ~ 25.78%
B 252 of 644 ~ 39.13%
#E2A6FC color CMYK value is (10,34,0,1).
CMYK: (10,34,0,1) C10M34Y0K1 (10%,34%,0%,1%) (0.10/0.34/0.00/0.01)
E2 | A6 | FC | |
---|---|---|---|
RGB | 226 | 166 | 252 |
HSL | 282° | 93.48% | 81.96% |
HSB/HSV | 282° | 34.13% | 98.82% |
CMYK | 10.32% | 34.13% | 0.00% |
1.18% |
HEX | E2 | A6 | FC |
Decimal | 226 | 166 | 252 |
Binary | 11100010 | 10100110 | 11111100 |
Octal | 342 | 246 | 374 |
Examples of css and html codes for elements with #E2A6FC color. Also use rgb(226,166,252) instead hex code.
.myTextColor { color: #E2A6FC; }
<p style="color:#E2A6FC">This sample text font color is #E2A6FC.</p>
This text font color is #E2A6FC.
.myBgColor { background-color: #E2A6FC; }
<div style="background-color:#E2A6FC">Inner text</div>
This div background color is #E2A6FC.
.myBorderColor { border: 1px solid #E2A6FC; }
<div style="border:3px solid #E2A6FC">Div</div>
This div border color is #E2A6FC.
.myOpacity80 { color: #E2A6FC; opacity: 0.8; }
<p style="color:#E2A6FC;opacity:0.8;">80%</p>
Text with #E2A6FC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2A6FC;}
<p style="text-shadow: 3px 3px 1px #E2A6FC">Text here.</p>
This text has shadow with #E2A6FC color.
.textShadow {text-shadow: 3px 3px 1px #E2A6FC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2A6FC, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2A6FC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2A6FC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2A6FC, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2A6FC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2A6FC; -webkit-box-shadow: 1px 1px 3px 2px #E2A6FC; box-shadow: 1px 1px 3px 2px #E2A6FC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2A6FC; -webkit-box-shadow: 1px 1px 3px 2px #E2A6FC; box-shadow:1px 1px 3px 2px #E2A6FC;">
Div content here</div>
This text has color #E2A6FC on black background.
This text has color #E2A6FC on white background.
This text has black color on #E2A6FC background.
This text has white color on #E2A6FC background.