HEX: #AD6FD7
RGB: (173,111,215)
#AD6FD7 contains mainly red and blue colors. Web safe color of #AD6FD7 is #9966CC (or #96C).
#AD6FD7 color RGB value is (173,111,215).
RGB: (173,111,215) (68%,44%,84%)
R 173 of 255 = 68%
G 111 of 255 = 44%
B 215 of 255 = 84%
R + G + B ~ 65%. #AD6FD7 is quite light color.
R + G + B =
173 + 111 + 215 = 499 (100%)
R 173 of 499 ~ 34.67%
G 111 of 499 ~ 22.24%
B 215 of 499 ~ 43.09%
#AD6FD7 color CMYK value is (20,48,0,16).
CMYK: (20,48,0,16) C20M48Y0K16 (20%,48%,0%,16%) (0.20/0.48/0.00/0.16)
AD | 6F | D7 | |
---|---|---|---|
RGB | 173 | 111 | 215 |
HSL | 276° | 56.52% | 63.92% |
HSB/HSV | 276° | 48.37% | 84.31% |
CMYK | 19.53% | 48.37% | 0.00% |
15.69% |
HEX | AD | 6F | D7 |
Decimal | 173 | 111 | 215 |
Binary | 10101101 | 1101111 | 11010111 |
Octal | 255 | 157 | 327 |
Examples of css and html codes for elements with #AD6FD7 color. Also use rgb(173,111,215) instead hex code.
.myTextColor { color: #AD6FD7; }
<p style="color:#AD6FD7">This sample text font color is #AD6FD7.</p>
This text font color is #AD6FD7.
.myBgColor { background-color: #AD6FD7; }
<div style="background-color:#AD6FD7">Inner text</div>
This div background color is #AD6FD7.
.myBorderColor { border: 1px solid #AD6FD7; }
<div style="border:3px solid #AD6FD7">Div</div>
This div border color is #AD6FD7.
.myOpacity80 { color: #AD6FD7; opacity: 0.8; }
<p style="color:#AD6FD7;opacity:0.8;">80%</p>
Text with #AD6FD7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD6FD7;}
<p style="text-shadow: 3px 3px 1px #AD6FD7">Text here.</p>
This text has shadow with #AD6FD7 color.
.textShadow {text-shadow: 3px 3px 1px #AD6FD7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD6FD7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD6FD7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD6FD7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD6FD7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD6FD7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD6FD7; -webkit-box-shadow: 1px 1px 3px 2px #AD6FD7; box-shadow: 1px 1px 3px 2px #AD6FD7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD6FD7; -webkit-box-shadow: 1px 1px 3px 2px #AD6FD7; box-shadow:1px 1px 3px 2px #AD6FD7;">
Div content here</div>
This text has color #AD6FD7 on black background.
This text has color #AD6FD7 on white background.
This text has black color on #AD6FD7 background.
This text has white color on #AD6FD7 background.