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