HEX: #AB89A6
RGB: (171,137,166)
#AB89A6 contains red, green and blue colors in about the same proportion. Web safe color of #AB89A6 is #999999 (or #999).
#AB89A6 color RGB value is (171,137,166).
RGB: (171,137,166) (67%,54%,65%)
R 171 of 255 = 67%
G 137 of 255 = 54%
B 166 of 255 = 65%
R + G + B ~ 62%. #AB89A6 is quite light color.
R + G + B =
171 + 137 + 166 = 474 (100%)
R 171 of 474 ~ 36.08%
G 137 of 474 ~ 28.9%
B 166 of 474 ~ 35.02%
#AB89A6 color CMYK value is (0,20,3,33).
CMYK: (0,20,3,33) C0M20Y3K33 (0%,20%,3%,33%) (0.00/0.20/0.03/0.33)
AB | 89 | A6 | |
---|---|---|---|
RGB | 171 | 137 | 166 |
HSL | 309° | 16.83% | 60.39% |
HSB/HSV | 309° | 19.88% | 67.06% |
CMYK | 0.00% | 19.88% | 2.92% |
32.94% |
HEX | AB | 89 | A6 |
Decimal | 171 | 137 | 166 |
Binary | 10101011 | 10001001 | 10100110 |
Octal | 253 | 211 | 246 |
Examples of css and html codes for elements with #AB89A6 color. Also use rgb(171,137,166) instead hex code.
.myTextColor { color: #AB89A6; }
<p style="color:#AB89A6">This sample text font color is #AB89A6.</p>
This text font color is #AB89A6.
.myBgColor { background-color: #AB89A6; }
<div style="background-color:#AB89A6">Inner text</div>
This div background color is #AB89A6.
.myBorderColor { border: 1px solid #AB89A6; }
<div style="border:3px solid #AB89A6">Div</div>
This div border color is #AB89A6.
.myOpacity80 { color: #AB89A6; opacity: 0.8; }
<p style="color:#AB89A6;opacity:0.8;">80%</p>
Text with #AB89A6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB89A6;}
<p style="text-shadow: 3px 3px 1px #AB89A6">Text here.</p>
This text has shadow with #AB89A6 color.
.textShadow {text-shadow: 3px 3px 1px #AB89A6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB89A6, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB89A6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB89A6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB89A6, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB89A6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB89A6; -webkit-box-shadow: 1px 1px 3px 2px #AB89A6; box-shadow: 1px 1px 3px 2px #AB89A6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB89A6; -webkit-box-shadow: 1px 1px 3px 2px #AB89A6; box-shadow:1px 1px 3px 2px #AB89A6;">
Div content here</div>
This text has color #AB89A6 on black background.
This text has color #AB89A6 on white background.
This text has black color on #AB89A6 background.
This text has white color on #AB89A6 background.