HEX: #AD8BC1
RGB: (173,139,193)
#AD8BC1 contains red, green and blue colors in about the same proportion. Web safe color of #AD8BC1 is #9999CC (or #99C).
#AD8BC1 color RGB value is (173,139,193).
RGB: (173,139,193) (68%,55%,76%)
R 173 of 255 = 68%
G 139 of 255 = 55%
B 193 of 255 = 76%
R + G + B ~ 66%. #AD8BC1 is quite light color.
R + G + B =
173 + 139 + 193 = 505 (100%)
R 173 of 505 ~ 34.26%
G 139 of 505 ~ 27.52%
B 193 of 505 ~ 38.22%
#AD8BC1 color CMYK value is (10,28,0,24).
CMYK: (10,28,0,24) C10M28Y0K24 (10%,28%,0%,24%) (0.10/0.28/0.00/0.24)
AD | 8B | C1 | |
---|---|---|---|
RGB | 173 | 139 | 193 |
HSL | 278° | 30.34% | 65.10% |
HSB/HSV | 278° | 27.98% | 75.69% |
CMYK | 10.36% | 27.98% | 0.00% |
24.31% |
HEX | AD | 8B | C1 |
Decimal | 173 | 139 | 193 |
Binary | 10101101 | 10001011 | 11000001 |
Octal | 255 | 213 | 301 |
Examples of css and html codes for elements with #AD8BC1 color. Also use rgb(173,139,193) instead hex code.
.myTextColor { color: #AD8BC1; }
<p style="color:#AD8BC1">This sample text font color is #AD8BC1.</p>
This text font color is #AD8BC1.
.myBgColor { background-color: #AD8BC1; }
<div style="background-color:#AD8BC1">Inner text</div>
This div background color is #AD8BC1.
.myBorderColor { border: 1px solid #AD8BC1; }
<div style="border:3px solid #AD8BC1">Div</div>
This div border color is #AD8BC1.
.myOpacity80 { color: #AD8BC1; opacity: 0.8; }
<p style="color:#AD8BC1;opacity:0.8;">80%</p>
Text with #AD8BC1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD8BC1;}
<p style="text-shadow: 3px 3px 1px #AD8BC1">Text here.</p>
This text has shadow with #AD8BC1 color.
.textShadow {text-shadow: 3px 3px 1px #AD8BC1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD8BC1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD8BC1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD8BC1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD8BC1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD8BC1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD8BC1; -webkit-box-shadow: 1px 1px 3px 2px #AD8BC1; box-shadow: 1px 1px 3px 2px #AD8BC1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD8BC1; -webkit-box-shadow: 1px 1px 3px 2px #AD8BC1; box-shadow:1px 1px 3px 2px #AD8BC1;">
Div content here</div>
This text has color #AD8BC1 on black background.
This text has color #AD8BC1 on white background.
This text has black color on #AD8BC1 background.
This text has white color on #AD8BC1 background.