HEX: #AD87D2
RGB: (173,135,210)
#AD87D2 contains mainly red and blue colors. Web safe color of #AD87D2 is #9999CC (or #99C).
#AD87D2 color RGB value is (173,135,210).
RGB: (173,135,210)
(68%, 53%, 82%)
R 173 of 255 = 68%
G 135 of 255 = 53%
B 210 of 255 = 82%
R + G + B ~ 68%. #AD87D2 is quite light color.
R + G + B = 173 + 135 + 210 = 518 (100%)
R 173 of 518 ~ 33.4%
G 135 of 518 ~ 26.06%
B 210 of 518 ~ 40.54'%
#AD87D2 color CMYK value is (18,36,0,18).
CMYK: (18,36,0,18) C18M36Y0K18 (18%,36%,0%,18%) (0.18/0.36/0.00/0.18)
Color #AD87D2 in popluar color models
AD | 87 | D2 | |
---|---|---|---|
RGB | 173 | 135 | 210 |
HSL | 270° | 45.45% | 67.65% |
HSB/HSV | 270° | 35.71% | 82.35% |
CMYK | 17.62% | 35.71% | 0.00% |
17.65% |
Color #AD87D2 in popluar number systems.
HEX | AD | 87 | D2 |
Decimal | 173 | 135 | 210 |
Binary | 10101101 | 10000111 | 11010010 |
Octal | 255 | 207 | 322 |
Shades of #AD87D2
Tints of #AD87D2
Examples of css and html codes for elements with #AD87D2 color. Also use rgb(173,135,210) instead hex code.
.myTextColor { color: #AD87D2; }
<p style="color:#AD87D2">This sample text font color is #AD87D2.</p>
This text font color is #AD87D2.
.myBgColor { background-color: #AD87D2; }
<div style="background-color:#AD87D2">Inner text</div>
This div background color is #AD87D2.
.myBorderColor { border: 1px solid #AD87D2; }
<div style="border:3px solid #AD87D2">Div</div>
This div border color is #AD87D2.
.myOpacity80 { color: #AD87D2; opacity: 0.8; }
<p style="color:#AD87D2;opacity:0.8;">80%</p>
Text with #AD87D2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD87D2;}
<p style="text-shadow: 3px 3px 1px #AD87D2">Text here.</p>
This text has shadow with #AD87D2 color.
.textShadow {text-shadow: 3px 3px 1px #AD87D2', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD87D2, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD87D2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD87D2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD87D2, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD87D2 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #AD87D2;
-webkit-box-shadow: 1px 1px 3px 2px #AD87D2;
box-shadow: 1px 1px 3px 2px #AD87D2;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #AD87D2; -webkit-box-shadow: 1px 1px 3px 2px #AD87D2; box-shadow:1px 1px 3px 2px #AD87D2;">
Div content here
</div>
This text has color #AD87D2 on black background.
This text has color #AD87D2 on white background.
This text has black color on #AD87D2 background.
This text has white color on #AD87D2 background.
Complementary color for #hex is #52782D.