HEX: #AD5792
RGB: (173,87,146)
#AD5792 contains mainly red and blue colors. Web safe color of #AD5792 is #996699 (or #969).
#AD5792 color RGB value is (173,87,146).
RGB: (173,87,146) (68%,34%,57%)
R 173 of 255 = 68%
G 87 of 255 = 34%
B 146 of 255 = 57%
R + G + B ~ 53%. #AD5792 is middle color (not dark and not light).
R + G + B =
173 + 87 + 146 = 406 (100%)
R 173 of 406 ~ 42.61%
G 87 of 406 ~ 21.43%
B 146 of 406 ~ 35.96%
#AD5792 color CMYK value is (0,50,16,32).
CMYK: (0,50,16,32) C0M50Y16K32 (0%,50%,16%,32%) (0.00/0.50/0.16/0.32)
AD | 57 | 92 | |
---|---|---|---|
RGB | 173 | 87 | 146 |
HSL | 319° | 34.40% | 50.98% |
HSB/HSV | 319° | 49.71% | 67.84% |
CMYK | 0.00% | 49.71% | 15.61% |
32.16% |
HEX | AD | 57 | 92 |
Decimal | 173 | 87 | 146 |
Binary | 10101101 | 1010111 | 10010010 |
Octal | 255 | 127 | 222 |
Examples of css and html codes for elements with #AD5792 color. Also use rgb(173,87,146) instead hex code.
.myTextColor { color: #AD5792; }
<p style="color:#AD5792">This sample text font color is #AD5792.</p>
This text font color is #AD5792.
.myBgColor { background-color: #AD5792; }
<div style="background-color:#AD5792">Inner text</div>
This div background color is #AD5792.
.myBorderColor { border: 1px solid #AD5792; }
<div style="border:3px solid #AD5792">Div</div>
This div border color is #AD5792.
.myOpacity80 { color: #AD5792; opacity: 0.8; }
<p style="color:#AD5792;opacity:0.8;">80%</p>
Text with #AD5792 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD5792;}
<p style="text-shadow: 3px 3px 1px #AD5792">Text here.</p>
This text has shadow with #AD5792 color.
.textShadow {text-shadow: 3px 3px 1px #AD5792, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD5792, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD5792 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD5792, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD5792, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD5792 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD5792; -webkit-box-shadow: 1px 1px 3px 2px #AD5792; box-shadow: 1px 1px 3px 2px #AD5792; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD5792; -webkit-box-shadow: 1px 1px 3px 2px #AD5792; box-shadow:1px 1px 3px 2px #AD5792;">
Div content here</div>
This text has color #AD5792 on black background.
This text has color #AD5792 on white background.
This text has black color on #AD5792 background.
This text has white color on #AD5792 background.