HEX: #AB9DAC
RGB: (171,157,172)
#AB9DAC contains red, green and blue colors in about the same proportion. Web safe color of #AB9DAC is #999999 (or #999).
#AB9DAC color RGB value is (171,157,172).
RGB: (171,157,172) (67%,62%,67%)
R 171 of 255 = 67%
G 157 of 255 = 62%
B 172 of 255 = 67%
R + G + B ~ 65%. #AB9DAC is quite light color.
R + G + B =
171 + 157 + 172 = 500 (100%)
R 171 of 500 ~ 34.2%
G 157 of 500 ~ 31.4%
B 172 of 500 ~ 34.4%
#AB9DAC color CMYK value is (1,9,0,33).
CMYK: (1,9,0,33) C1M9Y0K33 (1%,9%,0%,33%) (0.01/0.09/0.00/0.33)
AB | 9D | AC | |
---|---|---|---|
RGB | 171 | 157 | 172 |
HSL | 296° | 8.29% | 64.51% |
HSB/HSV | 296° | 8.72% | 67.45% |
CMYK | 0.58% | 8.72% | 0.00% |
32.55% |
HEX | AB | 9D | AC |
Decimal | 171 | 157 | 172 |
Binary | 10101011 | 10011101 | 10101100 |
Octal | 253 | 235 | 254 |
Examples of css and html codes for elements with #AB9DAC color. Also use rgb(171,157,172) instead hex code.
.myTextColor { color: #AB9DAC; }
<p style="color:#AB9DAC">This sample text font color is #AB9DAC.</p>
This text font color is #AB9DAC.
.myBgColor { background-color: #AB9DAC; }
<div style="background-color:#AB9DAC">Inner text</div>
This div background color is #AB9DAC.
.myBorderColor { border: 1px solid #AB9DAC; }
<div style="border:3px solid #AB9DAC">Div</div>
This div border color is #AB9DAC.
.myOpacity80 { color: #AB9DAC; opacity: 0.8; }
<p style="color:#AB9DAC;opacity:0.8;">80%</p>
Text with #AB9DAC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB9DAC;}
<p style="text-shadow: 3px 3px 1px #AB9DAC">Text here.</p>
This text has shadow with #AB9DAC color.
.textShadow {text-shadow: 3px 3px 1px #AB9DAC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB9DAC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB9DAC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB9DAC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB9DAC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB9DAC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB9DAC; -webkit-box-shadow: 1px 1px 3px 2px #AB9DAC; box-shadow: 1px 1px 3px 2px #AB9DAC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB9DAC; -webkit-box-shadow: 1px 1px 3px 2px #AB9DAC; box-shadow:1px 1px 3px 2px #AB9DAC;">
Div content here</div>
This text has color #AB9DAC on black background.
This text has color #AB9DAC on white background.
This text has black color on #AB9DAC background.
This text has white color on #AB9DAC background.