HEX: #AA97CC
RGB: (170,151,204)
#AA97CC contains red, green and blue colors in about the same proportion. Web safe color of #AA97CC is #9999CC (or #99C).
#AA97CC color RGB value is (170,151,204).
RGB: (170,151,204) (67%,59%,80%)
R 170 of 255 = 67%
G 151 of 255 = 59%
B 204 of 255 = 80%
R + G + B ~ 69%. #AA97CC is quite light color.
R + G + B =
170 + 151 + 204 = 525 (100%)
R 170 of 525 ~ 32.38%
G 151 of 525 ~ 28.76%
B 204 of 525 ~ 38.86%
#AA97CC color CMYK value is (17,26,0,20).
CMYK: (17,26,0,20) C17M26Y0K20 (17%,26%,0%,20%) (0.17/0.26/0.00/0.20)
AA | 97 | CC | |
---|---|---|---|
RGB | 170 | 151 | 204 |
HSL | 262° | 34.19% | 69.61% |
HSB/HSV | 262° | 25.98% | 80.00% |
CMYK | 16.67% | 25.98% | 0.00% |
20.00% |
HEX | AA | 97 | CC |
Decimal | 170 | 151 | 204 |
Binary | 10101010 | 10010111 | 11001100 |
Octal | 252 | 227 | 314 |
Examples of css and html codes for elements with #AA97CC color. Also use rgb(170,151,204) instead hex code.
.myTextColor { color: #AA97CC; }
<p style="color:#AA97CC">This sample text font color is #AA97CC.</p>
This text font color is #AA97CC.
.myBgColor { background-color: #AA97CC; }
<div style="background-color:#AA97CC">Inner text</div>
This div background color is #AA97CC.
.myBorderColor { border: 1px solid #AA97CC; }
<div style="border:3px solid #AA97CC">Div</div>
This div border color is #AA97CC.
.myOpacity80 { color: #AA97CC; opacity: 0.8; }
<p style="color:#AA97CC;opacity:0.8;">80%</p>
Text with #AA97CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AA97CC;}
<p style="text-shadow: 3px 3px 1px #AA97CC">Text here.</p>
This text has shadow with #AA97CC color.
.textShadow {text-shadow: 3px 3px 1px #AA97CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AA97CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AA97CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AA97CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AA97CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AA97CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AA97CC; -webkit-box-shadow: 1px 1px 3px 2px #AA97CC; box-shadow: 1px 1px 3px 2px #AA97CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AA97CC; -webkit-box-shadow: 1px 1px 3px 2px #AA97CC; box-shadow:1px 1px 3px 2px #AA97CC;">
Div content here</div>
This text has color #AA97CC on black background.
This text has color #AA97CC on white background.
This text has black color on #AA97CC background.
This text has white color on #AA97CC background.