HEX: #AA72B6
RGB: (170,114,182)
#AA72B6 contains mainly red and blue colors. Web safe color of #AA72B6 is #9966CC (or #96C).
#AA72B6 color RGB value is (170,114,182).
RGB: (170,114,182) (67%,45%,71%)
R 170 of 255 = 67%
G 114 of 255 = 45%
B 182 of 255 = 71%
R + G + B ~ 61%. #AA72B6 is quite light color.
R + G + B =
170 + 114 + 182 = 466 (100%)
R 170 of 466 ~ 36.48%
G 114 of 466 ~ 24.46%
B 182 of 466 ~ 39.06%
#AA72B6 color CMYK value is (7,37,0,29).
CMYK: (7,37,0,29) C7M37Y0K29 (7%,37%,0%,29%) (0.07/0.37/0.00/0.29)
AA | 72 | B6 | |
---|---|---|---|
RGB | 170 | 114 | 182 |
HSL | 289° | 31.78% | 58.04% |
HSB/HSV | 289° | 37.36% | 71.37% |
CMYK | 6.59% | 37.36% | 0.00% |
28.63% |
HEX | AA | 72 | B6 |
Decimal | 170 | 114 | 182 |
Binary | 10101010 | 1110010 | 10110110 |
Octal | 252 | 162 | 266 |
Examples of css and html codes for elements with #AA72B6 color. Also use rgb(170,114,182) instead hex code.
.myTextColor { color: #AA72B6; }
<p style="color:#AA72B6">This sample text font color is #AA72B6.</p>
This text font color is #AA72B6.
.myBgColor { background-color: #AA72B6; }
<div style="background-color:#AA72B6">Inner text</div>
This div background color is #AA72B6.
.myBorderColor { border: 1px solid #AA72B6; }
<div style="border:3px solid #AA72B6">Div</div>
This div border color is #AA72B6.
.myOpacity80 { color: #AA72B6; opacity: 0.8; }
<p style="color:#AA72B6;opacity:0.8;">80%</p>
Text with #AA72B6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA72B6;}
<p style="text-shadow: 3px 3px 1px #AA72B6">Text here.</p>
This text has shadow with #AA72B6 color.
.textShadow {text-shadow: 3px 3px 1px #AA72B6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA72B6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA72B6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA72B6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA72B6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA72B6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA72B6; -webkit-box-shadow: 1px 1px 3px 2px #AA72B6; box-shadow: 1px 1px 3px 2px #AA72B6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA72B6; -webkit-box-shadow: 1px 1px 3px 2px #AA72B6; box-shadow:1px 1px 3px 2px #AA72B6;">
Div content here</div>
This text has color #AA72B6 on black background.
This text has color #AA72B6 on white background.
This text has black color on #AA72B6 background.
This text has white color on #AA72B6 background.