HEX: #E2AFE6
RGB: (226,175,230)
#E2AFE6 contains red, green and blue colors in about the same proportion. Web safe color of #E2AFE6 is #CC99CC (or #C9C).
#E2AFE6 color RGB value is (226,175,230).
RGB: (226,175,230) (89%,69%,90%)
R 226 of 255 = 89%
G 175 of 255 = 69%
B 230 of 255 = 90%
R + G + B ~ 83%. #E2AFE6 is quite light color.
R + G + B =
226 + 175 + 230 = 631 (100%)
R 226 of 631 ~ 35.82%
G 175 of 631 ~ 27.73%
B 230 of 631 ~ 36.45%
#E2AFE6 color CMYK value is (2,24,0,10).
CMYK: (2,24,0,10) C2M24Y0K10 (2%,24%,0%,10%) (0.02/0.24/0.00/0.10)
E2 | AF | E6 | |
---|---|---|---|
RGB | 226 | 175 | 230 |
HSL | 296° | 52.38% | 79.41% |
HSB/HSV | 296° | 23.91% | 90.20% |
CMYK | 1.74% | 23.91% | 0.00% |
9.80% |
HEX | E2 | AF | E6 |
Decimal | 226 | 175 | 230 |
Binary | 11100010 | 10101111 | 11100110 |
Octal | 342 | 257 | 346 |
Examples of css and html codes for elements with #E2AFE6 color. Also use rgb(226,175,230) instead hex code.
.myTextColor { color: #E2AFE6; }
<p style="color:#E2AFE6">This sample text font color is #E2AFE6.</p>
This text font color is #E2AFE6.
.myBgColor { background-color: #E2AFE6; }
<div style="background-color:#E2AFE6">Inner text</div>
This div background color is #E2AFE6.
.myBorderColor { border: 1px solid #E2AFE6; }
<div style="border:3px solid #E2AFE6">Div</div>
This div border color is #E2AFE6.
.myOpacity80 { color: #E2AFE6; opacity: 0.8; }
<p style="color:#E2AFE6;opacity:0.8;">80%</p>
Text with #E2AFE6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E2AFE6;}
<p style="text-shadow: 3px 3px 1px #E2AFE6">Text here.</p>
This text has shadow with #E2AFE6 color.
.textShadow {text-shadow: 3px 3px 1px #E2AFE6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E2AFE6, 5px 5px 20px red">Text here.</p>
This text has shadow with #E2AFE6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E2AFE6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E2AFE6, Direction=45, Strength=4)">Text</p>
This text has shadow with #E2AFE6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E2AFE6; -webkit-box-shadow: 1px 1px 3px 2px #E2AFE6; box-shadow: 1px 1px 3px 2px #E2AFE6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E2AFE6; -webkit-box-shadow: 1px 1px 3px 2px #E2AFE6; box-shadow:1px 1px 3px 2px #E2AFE6;">
Div content here</div>
This text has color #E2AFE6 on black background.
This text has color #E2AFE6 on white background.
This text has black color on #E2AFE6 background.
This text has white color on #E2AFE6 background.