HEX: #AD5A9F
RGB: (173,90,159)
#AD5A9F contains mainly red and blue colors. Web safe color of #AD5A9F is #996699 (or #969).
#AD5A9F color RGB value is (173,90,159).
RGB: (173,90,159) (68%,35%,62%)
R 173 of 255 = 68%
G 90 of 255 = 35%
B 159 of 255 = 62%
R + G + B ~ 55%. #AD5A9F is middle color (not dark and not light).
R + G + B =
173 + 90 + 159 = 422 (100%)
R 173 of 422 ~ 41%
G 90 of 422 ~ 21.33%
B 159 of 422 ~ 37.68%
#AD5A9F color CMYK value is (0,48,8,32).
CMYK: (0,48,8,32) C0M48Y8K32 (0%,48%,8%,32%) (0.00/0.48/0.08/0.32)
AD | 5A | 9F | |
---|---|---|---|
RGB | 173 | 90 | 159 |
HSL | 310° | 33.60% | 51.57% |
HSB/HSV | 310° | 47.98% | 67.84% |
CMYK | 0.00% | 47.98% | 8.09% |
32.16% |
HEX | AD | 5A | 9F |
Decimal | 173 | 90 | 159 |
Binary | 10101101 | 1011010 | 10011111 |
Octal | 255 | 132 | 237 |
Examples of css and html codes for elements with #AD5A9F color. Also use rgb(173,90,159) instead hex code.
.myTextColor { color: #AD5A9F; }
<p style="color:#AD5A9F">This sample text font color is #AD5A9F.</p>
This text font color is #AD5A9F.
.myBgColor { background-color: #AD5A9F; }
<div style="background-color:#AD5A9F">Inner text</div>
This div background color is #AD5A9F.
.myBorderColor { border: 1px solid #AD5A9F; }
<div style="border:3px solid #AD5A9F">Div</div>
This div border color is #AD5A9F.
.myOpacity80 { color: #AD5A9F; opacity: 0.8; }
<p style="color:#AD5A9F;opacity:0.8;">80%</p>
Text with #AD5A9F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD5A9F;}
<p style="text-shadow: 3px 3px 1px #AD5A9F">Text here.</p>
This text has shadow with #AD5A9F color.
.textShadow {text-shadow: 3px 3px 1px #AD5A9F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD5A9F, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD5A9F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD5A9F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD5A9F, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD5A9F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD5A9F; -webkit-box-shadow: 1px 1px 3px 2px #AD5A9F; box-shadow: 1px 1px 3px 2px #AD5A9F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD5A9F; -webkit-box-shadow: 1px 1px 3px 2px #AD5A9F; box-shadow:1px 1px 3px 2px #AD5A9F;">
Div content here</div>
This text has color #AD5A9F on black background.
This text has color #AD5A9F on white background.
This text has black color on #AD5A9F background.
This text has white color on #AD5A9F background.