HEX: #AA508B
RGB: (170,80,139)
#AA508B contains mainly red and blue colors. Web safe color of #AA508B is #996699 (or #969).
#AA508B color RGB value is (170,80,139).
RGB: (170,80,139) (67%,31%,55%)
R 170 of 255 = 67%
G 80 of 255 = 31%
B 139 of 255 = 55%
R + G + B ~ 51%. #AA508B is middle color (not dark and not light).
R + G + B =
170 + 80 + 139 = 389 (100%)
R 170 of 389 ~ 43.7%
G 80 of 389 ~ 20.57%
B 139 of 389 ~ 35.73%
#AA508B color CMYK value is (0,53,18,33).
CMYK: (0,53,18,33) C0M53Y18K33 (0%,53%,18%,33%) (0.00/0.53/0.18/0.33)
AA | 50 | 8B | |
---|---|---|---|
RGB | 170 | 80 | 139 |
HSL | 321° | 36.00% | 49.02% |
HSB/HSV | 321° | 52.94% | 66.67% |
CMYK | 0.00% | 52.94% | 18.24% |
33.33% |
HEX | AA | 50 | 8B |
Decimal | 170 | 80 | 139 |
Binary | 10101010 | 1010000 | 10001011 |
Octal | 252 | 120 | 213 |
Examples of css and html codes for elements with #AA508B color. Also use rgb(170,80,139) instead hex code.
.myTextColor { color: #AA508B; }
<p style="color:#AA508B">This sample text font color is #AA508B.</p>
This text font color is #AA508B.
.myBgColor { background-color: #AA508B; }
<div style="background-color:#AA508B">Inner text</div>
This div background color is #AA508B.
.myBorderColor { border: 1px solid #AA508B; }
<div style="border:3px solid #AA508B">Div</div>
This div border color is #AA508B.
.myOpacity80 { color: #AA508B; opacity: 0.8; }
<p style="color:#AA508B;opacity:0.8;">80%</p>
Text with #AA508B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA508B;}
<p style="text-shadow: 3px 3px 1px #AA508B">Text here.</p>
This text has shadow with #AA508B color.
.textShadow {text-shadow: 3px 3px 1px #AA508B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA508B, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA508B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA508B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA508B, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA508B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA508B; -webkit-box-shadow: 1px 1px 3px 2px #AA508B; box-shadow: 1px 1px 3px 2px #AA508B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA508B; -webkit-box-shadow: 1px 1px 3px 2px #AA508B; box-shadow:1px 1px 3px 2px #AA508B;">
Div content here</div>
This text has color #AA508B on black background.
This text has color #AA508B on white background.
This text has black color on #AA508B background.
This text has white color on #AA508B background.