HEX: #AB66AA
RGB: (171,102,170)
#AB66AA contains mainly red and blue colors. Web safe color of #AB66AA is #996699 (or #969).
#AB66AA color RGB value is (171,102,170).
RGB: (171,102,170) (67%,40%,67%)
R 171 of 255 = 67%
G 102 of 255 = 40%
B 170 of 255 = 67%
R + G + B ~ 58%. #AB66AA is middle color (not dark and not light).
R + G + B =
171 + 102 + 170 = 443 (100%)
R 171 of 443 ~ 38.6%
G 102 of 443 ~ 23.02%
B 170 of 443 ~ 38.37%
#AB66AA color CMYK value is (0,40,1,33).
CMYK: (0,40,1,33) C0M40Y1K33 (0%,40%,1%,33%) (0.00/0.40/0.01/0.33)
AB | 66 | AA | |
---|---|---|---|
RGB | 171 | 102 | 170 |
HSL | 301° | 29.11% | 53.53% |
HSB/HSV | 301° | 40.35% | 67.06% |
CMYK | 0.00% | 40.35% | 0.58% |
32.94% |
HEX | AB | 66 | AA |
Decimal | 171 | 102 | 170 |
Binary | 10101011 | 1100110 | 10101010 |
Octal | 253 | 146 | 252 |
Examples of css and html codes for elements with #AB66AA color. Also use rgb(171,102,170) instead hex code.
.myTextColor { color: #AB66AA; }
<p style="color:#AB66AA">This sample text font color is #AB66AA.</p>
This text font color is #AB66AA.
.myBgColor { background-color: #AB66AA; }
<div style="background-color:#AB66AA">Inner text</div>
This div background color is #AB66AA.
.myBorderColor { border: 1px solid #AB66AA; }
<div style="border:3px solid #AB66AA">Div</div>
This div border color is #AB66AA.
.myOpacity80 { color: #AB66AA; opacity: 0.8; }
<p style="color:#AB66AA;opacity:0.8;">80%</p>
Text with #AB66AA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB66AA;}
<p style="text-shadow: 3px 3px 1px #AB66AA">Text here.</p>
This text has shadow with #AB66AA color.
.textShadow {text-shadow: 3px 3px 1px #AB66AA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB66AA, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB66AA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB66AA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB66AA, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB66AA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB66AA; -webkit-box-shadow: 1px 1px 3px 2px #AB66AA; box-shadow: 1px 1px 3px 2px #AB66AA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB66AA; -webkit-box-shadow: 1px 1px 3px 2px #AB66AA; box-shadow:1px 1px 3px 2px #AB66AA;">
Div content here</div>
This text has color #AB66AA on black background.
This text has color #AB66AA on white background.
This text has black color on #AB66AA background.
This text has white color on #AB66AA background.