HEX: #E6A6E6
RGB: (230,166,230)
#E6A6E6 contains mainly red and blue colors. Web safe color of #E6A6E6 is #CC99CC (or #C9C).
#E6A6E6 color RGB value is (230,166,230).
RGB: (230,166,230) (90%,65%,90%)
R 230 of 255 = 90%
G 166 of 255 = 65%
B 230 of 255 = 90%
R + G + B ~ 82%. #E6A6E6 is quite light color.
R + G + B =
230 + 166 + 230 = 626 (100%)
R 230 of 626 ~ 36.74%
G 166 of 626 ~ 26.52%
B 230 of 626 ~ 36.74%
#E6A6E6 color CMYK value is (0,28,0,10).
CMYK: (0,28,0,10) C0M28Y0K10 (0%,28%,0%,10%) (0.00/0.28/0.00/0.10)
E6 | A6 | E6 | |
---|---|---|---|
RGB | 230 | 166 | 230 |
HSL | 300° | 56.14% | 77.65% |
HSB/HSV | 300° | 27.83% | 90.20% |
CMYK | 0.00% | 27.83% | 0.00% |
9.80% |
HEX | E6 | A6 | E6 |
Decimal | 230 | 166 | 230 |
Binary | 11100110 | 10100110 | 11100110 |
Octal | 346 | 246 | 346 |
Examples of css and html codes for elements with #E6A6E6 color. Also use rgb(230,166,230) instead hex code.
.myTextColor { color: #E6A6E6; }
<p style="color:#E6A6E6">This sample text font color is #E6A6E6.</p>
This text font color is #E6A6E6.
.myBgColor { background-color: #E6A6E6; }
<div style="background-color:#E6A6E6">Inner text</div>
This div background color is #E6A6E6.
.myBorderColor { border: 1px solid #E6A6E6; }
<div style="border:3px solid #E6A6E6">Div</div>
This div border color is #E6A6E6.
.myOpacity80 { color: #E6A6E6; opacity: 0.8; }
<p style="color:#E6A6E6;opacity:0.8;">80%</p>
Text with #E6A6E6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #E6A6E6;}
<p style="text-shadow: 3px 3px 1px #E6A6E6">Text here.</p>
This text has shadow with #E6A6E6 color.
.textShadow {text-shadow: 3px 3px 1px #E6A6E6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #E6A6E6, 5px 5px 20px red">Text here.</p>
This text has shadow with #E6A6E6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#E6A6E6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#E6A6E6, Direction=45, Strength=4)">Text</p>
This text has shadow with #E6A6E6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #E6A6E6; -webkit-box-shadow: 1px 1px 3px 2px #E6A6E6; box-shadow: 1px 1px 3px 2px #E6A6E6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #E6A6E6; -webkit-box-shadow: 1px 1px 3px 2px #E6A6E6; box-shadow:1px 1px 3px 2px #E6A6E6;">
Div content here</div>
This text has color #E6A6E6 on black background.
This text has color #E6A6E6 on white background.
This text has black color on #E6A6E6 background.
This text has white color on #E6A6E6 background.