HEX: #AD1DB7
RGB: (173,29,183)
#AD1DB7 contains mainly red and blue colors. Web safe color of #AD1DB7 is #9933CC (or #93C).
#AD1DB7 color RGB value is (173,29,183).
RGB: (173,29,183) (68%,11%,72%)
R 173 of 255 = 68%
G 29 of 255 = 11%
B 183 of 255 = 72%
R + G + B ~ 50%. #AD1DB7 is middle color (not dark and not light).
R + G + B =
173 + 29 + 183 = 385 (100%)
R 173 of 385 ~ 44.94%
G 29 of 385 ~ 7.53%
B 183 of 385 ~ 47.53%
#AD1DB7 color CMYK value is (5,84,0,28).
CMYK: (5,84,0,28) C5M84Y0K28 (5%,84%,0%,28%) (0.05/0.84/0.00/0.28)
AD | 1D | B7 | |
---|---|---|---|
RGB | 173 | 29 | 183 |
HSL | 296° | 72.64% | 41.57% |
HSB/HSV | 296° | 84.15% | 71.76% |
CMYK | 5.46% | 84.15% | 0.00% |
28.24% |
HEX | AD | 1D | B7 |
Decimal | 173 | 29 | 183 |
Binary | 10101101 | 11101 | 10110111 |
Octal | 255 | 35 | 267 |
Examples of css and html codes for elements with #AD1DB7 color. Also use rgb(173,29,183) instead hex code.
.myTextColor { color: #AD1DB7; }
<p style="color:#AD1DB7">This sample text font color is #AD1DB7.</p>
This text font color is #AD1DB7.
.myBgColor { background-color: #AD1DB7; }
<div style="background-color:#AD1DB7">Inner text</div>
This div background color is #AD1DB7.
.myBorderColor { border: 1px solid #AD1DB7; }
<div style="border:3px solid #AD1DB7">Div</div>
This div border color is #AD1DB7.
.myOpacity80 { color: #AD1DB7; opacity: 0.8; }
<p style="color:#AD1DB7;opacity:0.8;">80%</p>
Text with #AD1DB7 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD1DB7;}
<p style="text-shadow: 3px 3px 1px #AD1DB7">Text here.</p>
This text has shadow with #AD1DB7 color.
.textShadow {text-shadow: 3px 3px 1px #AD1DB7, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD1DB7, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD1DB7 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD1DB7, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD1DB7, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD1DB7 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD1DB7; -webkit-box-shadow: 1px 1px 3px 2px #AD1DB7; box-shadow: 1px 1px 3px 2px #AD1DB7; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD1DB7; -webkit-box-shadow: 1px 1px 3px 2px #AD1DB7; box-shadow:1px 1px 3px 2px #AD1DB7;">
Div content here</div>
This text has color #AD1DB7 on black background.
This text has color #AD1DB7 on white background.
This text has black color on #AD1DB7 background.
This text has white color on #AD1DB7 background.