HEX: #AD6DBD
RGB: (173,109,189)
#AD6DBD contains mainly red and blue colors. Web safe color of #AD6DBD is #9966CC (or #96C).
#AD6DBD color RGB value is (173,109,189).
RGB: (173,109,189) (68%,43%,74%)
R 173 of 255 = 68%
G 109 of 255 = 43%
B 189 of 255 = 74%
R + G + B ~ 62%. #AD6DBD is quite light color.
R + G + B =
173 + 109 + 189 = 471 (100%)
R 173 of 471 ~ 36.73%
G 109 of 471 ~ 23.14%
B 189 of 471 ~ 40.13%
#AD6DBD color CMYK value is (8,42,0,26).
CMYK: (8,42,0,26) C8M42Y0K26 (8%,42%,0%,26%) (0.08/0.42/0.00/0.26)
AD | 6D | BD | |
---|---|---|---|
RGB | 173 | 109 | 189 |
HSL | 288° | 37.74% | 58.43% |
HSB/HSV | 288° | 42.33% | 74.12% |
CMYK | 8.47% | 42.33% | 0.00% |
25.88% |
HEX | AD | 6D | BD |
Decimal | 173 | 109 | 189 |
Binary | 10101101 | 1101101 | 10111101 |
Octal | 255 | 155 | 275 |
Examples of css and html codes for elements with #AD6DBD color. Also use rgb(173,109,189) instead hex code.
.myTextColor { color: #AD6DBD; }
<p style="color:#AD6DBD">This sample text font color is #AD6DBD.</p>
This text font color is #AD6DBD.
.myBgColor { background-color: #AD6DBD; }
<div style="background-color:#AD6DBD">Inner text</div>
This div background color is #AD6DBD.
.myBorderColor { border: 1px solid #AD6DBD; }
<div style="border:3px solid #AD6DBD">Div</div>
This div border color is #AD6DBD.
.myOpacity80 { color: #AD6DBD; opacity: 0.8; }
<p style="color:#AD6DBD;opacity:0.8;">80%</p>
Text with #AD6DBD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD6DBD;}
<p style="text-shadow: 3px 3px 1px #AD6DBD">Text here.</p>
This text has shadow with #AD6DBD color.
.textShadow {text-shadow: 3px 3px 1px #AD6DBD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD6DBD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD6DBD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD6DBD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD6DBD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD6DBD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD6DBD; -webkit-box-shadow: 1px 1px 3px 2px #AD6DBD; box-shadow: 1px 1px 3px 2px #AD6DBD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD6DBD; -webkit-box-shadow: 1px 1px 3px 2px #AD6DBD; box-shadow:1px 1px 3px 2px #AD6DBD;">
Div content here</div>
This text has color #AD6DBD on black background.
This text has color #AD6DBD on white background.
This text has black color on #AD6DBD background.
This text has white color on #AD6DBD background.