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