HEX: #AD8BAF
RGB: (173,139,175)
#AD8BAF contains red, green and blue colors in about the same proportion. Web safe color of #AD8BAF is #999999 (or #999).
#AD8BAF color RGB value is (173,139,175).
RGB: (173,139,175) (68%,55%,69%)
R 173 of 255 = 68%
G 139 of 255 = 55%
B 175 of 255 = 69%
R + G + B ~ 64%. #AD8BAF is quite light color.
R + G + B =
173 + 139 + 175 = 487 (100%)
R 173 of 487 ~ 35.52%
G 139 of 487 ~ 28.54%
B 175 of 487 ~ 35.93%
#AD8BAF color CMYK value is (1,21,0,31).
CMYK: (1,21,0,31) C1M21Y0K31 (1%,21%,0%,31%) (0.01/0.21/0.00/0.31)
AD | 8B | AF | |
---|---|---|---|
RGB | 173 | 139 | 175 |
HSL | 297° | 18.37% | 61.57% |
HSB/HSV | 297° | 20.57% | 68.63% |
CMYK | 1.14% | 20.57% | 0.00% |
31.37% |
HEX | AD | 8B | AF |
Decimal | 173 | 139 | 175 |
Binary | 10101101 | 10001011 | 10101111 |
Octal | 255 | 213 | 257 |
Examples of css and html codes for elements with #AD8BAF color. Also use rgb(173,139,175) instead hex code.
.myTextColor { color: #AD8BAF; }
<p style="color:#AD8BAF">This sample text font color is #AD8BAF.</p>
This text font color is #AD8BAF.
.myBgColor { background-color: #AD8BAF; }
<div style="background-color:#AD8BAF">Inner text</div>
This div background color is #AD8BAF.
.myBorderColor { border: 1px solid #AD8BAF; }
<div style="border:3px solid #AD8BAF">Div</div>
This div border color is #AD8BAF.
.myOpacity80 { color: #AD8BAF; opacity: 0.8; }
<p style="color:#AD8BAF;opacity:0.8;">80%</p>
Text with #AD8BAF color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD8BAF;}
<p style="text-shadow: 3px 3px 1px #AD8BAF">Text here.</p>
This text has shadow with #AD8BAF color.
.textShadow {text-shadow: 3px 3px 1px #AD8BAF, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD8BAF, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD8BAF primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD8BAF, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD8BAF, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD8BAF and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD8BAF; -webkit-box-shadow: 1px 1px 3px 2px #AD8BAF; box-shadow: 1px 1px 3px 2px #AD8BAF; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD8BAF; -webkit-box-shadow: 1px 1px 3px 2px #AD8BAF; box-shadow:1px 1px 3px 2px #AD8BAF;">
Div content here</div>
This text has color #AD8BAF on black background.
This text has color #AD8BAF on white background.
This text has black color on #AD8BAF background.
This text has white color on #AD8BAF background.