HEX: #AA8EDD
RGB: (170,142,221)
#AA8EDD contains mainly red and blue colors. Web safe color of #AA8EDD is #9999CC (or #99C).
#AA8EDD color RGB value is (170,142,221).
RGB: (170,142,221) (67%,56%,87%)
R 170 of 255 = 67%
G 142 of 255 = 56%
B 221 of 255 = 87%
R + G + B ~ 70%. #AA8EDD is quite light color.
R + G + B =
170 + 142 + 221 = 533 (100%)
R 170 of 533 ~ 31.89%
G 142 of 533 ~ 26.64%
B 221 of 533 ~ 41.46%
#AA8EDD color CMYK value is (23,36,0,13).
CMYK: (23,36,0,13) C23M36Y0K13 (23%,36%,0%,13%) (0.23/0.36/0.00/0.13)
AA | 8E | DD | |
---|---|---|---|
RGB | 170 | 142 | 221 |
HSL | 261° | 53.74% | 71.18% |
HSB/HSV | 261° | 35.75% | 86.67% |
CMYK | 23.08% | 35.75% | 0.00% |
13.33% |
HEX | AA | 8E | DD |
Decimal | 170 | 142 | 221 |
Binary | 10101010 | 10001110 | 11011101 |
Octal | 252 | 216 | 335 |
Examples of css and html codes for elements with #AA8EDD color. Also use rgb(170,142,221) instead hex code.
.myTextColor { color: #AA8EDD; }
<p style="color:#AA8EDD">This sample text font color is #AA8EDD.</p>
This text font color is #AA8EDD.
.myBgColor { background-color: #AA8EDD; }
<div style="background-color:#AA8EDD">Inner text</div>
This div background color is #AA8EDD.
.myBorderColor { border: 1px solid #AA8EDD; }
<div style="border:3px solid #AA8EDD">Div</div>
This div border color is #AA8EDD.
.myOpacity80 { color: #AA8EDD; opacity: 0.8; }
<p style="color:#AA8EDD;opacity:0.8;">80%</p>
Text with #AA8EDD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA8EDD;}
<p style="text-shadow: 3px 3px 1px #AA8EDD">Text here.</p>
This text has shadow with #AA8EDD color.
.textShadow {text-shadow: 3px 3px 1px #AA8EDD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA8EDD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA8EDD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA8EDD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA8EDD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA8EDD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA8EDD; -webkit-box-shadow: 1px 1px 3px 2px #AA8EDD; box-shadow: 1px 1px 3px 2px #AA8EDD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA8EDD; -webkit-box-shadow: 1px 1px 3px 2px #AA8EDD; box-shadow:1px 1px 3px 2px #AA8EDD;">
Div content here</div>
This text has color #AA8EDD on black background.
This text has color #AA8EDD on white background.
This text has black color on #AA8EDD background.
This text has white color on #AA8EDD background.