HEX: #AB8DAF
RGB: (171,141,175)
#AB8DAF contains red, green and blue colors in about the same proportion. Web safe color of #AB8DAF is #999999 (or #999).
#AB8DAF color RGB value is (171,141,175).
RGB: (171,141,175) (67%,55%,69%)
R 171 of 255 = 67%
G 141 of 255 = 55%
B 175 of 255 = 69%
R + G + B ~ 64%. #AB8DAF is quite light color.
R + G + B =
171 + 141 + 175 = 487 (100%)
R 171 of 487 ~ 35.11%
G 141 of 487 ~ 28.95%
B 175 of 487 ~ 35.93%
#AB8DAF color CMYK value is (2,19,0,31).
CMYK: (2,19,0,31) C2M19Y0K31 (2%,19%,0%,31%) (0.02/0.19/0.00/0.31)
AB | 8D | AF | |
---|---|---|---|
RGB | 171 | 141 | 175 |
HSL | 293° | 17.53% | 61.96% |
HSB/HSV | 293° | 19.43% | 68.63% |
CMYK | 2.29% | 19.43% | 0.00% |
31.37% |
HEX | AB | 8D | AF |
Decimal | 171 | 141 | 175 |
Binary | 10101011 | 10001101 | 10101111 |
Octal | 253 | 215 | 257 |
Examples of css and html codes for elements with #AB8DAF color. Also use rgb(171,141,175) instead hex code.
.myTextColor { color: #AB8DAF; }
<p style="color:#AB8DAF">This sample text font color is #AB8DAF.</p>
This text font color is #AB8DAF.
.myBgColor { background-color: #AB8DAF; }
<div style="background-color:#AB8DAF">Inner text</div>
This div background color is #AB8DAF.
.myBorderColor { border: 1px solid #AB8DAF; }
<div style="border:3px solid #AB8DAF">Div</div>
This div border color is #AB8DAF.
.myOpacity80 { color: #AB8DAF; opacity: 0.8; }
<p style="color:#AB8DAF;opacity:0.8;">80%</p>
Text with #AB8DAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AB8DAF;}
<p style="text-shadow: 3px 3px 1px #AB8DAF">Text here.</p>
This text has shadow with #AB8DAF color.
.textShadow {text-shadow: 3px 3px 1px #AB8DAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AB8DAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AB8DAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AB8DAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AB8DAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AB8DAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AB8DAF; -webkit-box-shadow: 1px 1px 3px 2px #AB8DAF; box-shadow: 1px 1px 3px 2px #AB8DAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AB8DAF; -webkit-box-shadow: 1px 1px 3px 2px #AB8DAF; box-shadow:1px 1px 3px 2px #AB8DAF;">
Div content here</div>
This text has color #AB8DAF on black background.
This text has color #AB8DAF on white background.
This text has black color on #AB8DAF background.
This text has white color on #AB8DAF background.