HEX: #AD5170
RGB: (173,81,112)
#AD5170 contains mainly red color. Web safe color of #AD5170 is #996666 (or #966).
#AD5170 color RGB value is (173,81,112).
RGB: (173,81,112) (68%,32%,44%)
R 173 of 255 = 68%
G 81 of 255 = 32%
B 112 of 255 = 44%
R + G + B ~ 48%. #AD5170 is middle color (not dark and not light).
R + G + B =
173 + 81 + 112 = 366 (100%)
R 173 of 366 ~ 47.27%
G 81 of 366 ~ 22.13%
B 112 of 366 ~ 30.6%
#AD5170 color CMYK value is (0,53,35,32).
CMYK: (0,53,35,32) C0M53Y35K32 (0%,53%,35%,32%) (0.00/0.53/0.35/0.32)
AD | 51 | 70 | |
---|---|---|---|
RGB | 173 | 81 | 112 |
HSL | 340° | 36.22% | 49.80% |
HSB/HSV | 340° | 53.18% | 67.84% |
CMYK | 0.00% | 53.18% | 35.26% |
32.16% |
HEX | AD | 51 | 70 |
Decimal | 173 | 81 | 112 |
Binary | 10101101 | 1010001 | 1110000 |
Octal | 255 | 121 | 160 |
Examples of css and html codes for elements with #AD5170 color. Also use rgb(173,81,112) instead hex code.
.myTextColor { color: #AD5170; }
<p style="color:#AD5170">This sample text font color is #AD5170.</p>
This text font color is #AD5170.
.myBgColor { background-color: #AD5170; }
<div style="background-color:#AD5170">Inner text</div>
This div background color is #AD5170.
.myBorderColor { border: 1px solid #AD5170; }
<div style="border:3px solid #AD5170">Div</div>
This div border color is #AD5170.
.myOpacity80 { color: #AD5170; opacity: 0.8; }
<p style="color:#AD5170;opacity:0.8;">80%</p>
Text with #AD5170 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD5170;}
<p style="text-shadow: 3px 3px 1px #AD5170">Text here.</p>
This text has shadow with #AD5170 color.
.textShadow {text-shadow: 3px 3px 1px #AD5170, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD5170, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD5170 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD5170, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD5170, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD5170 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD5170; -webkit-box-shadow: 1px 1px 3px 2px #AD5170; box-shadow: 1px 1px 3px 2px #AD5170; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD5170; -webkit-box-shadow: 1px 1px 3px 2px #AD5170; box-shadow:1px 1px 3px 2px #AD5170;">
Div content here</div>
This text has color #AD5170 on black background.
This text has color #AD5170 on white background.
This text has black color on #AD5170 background.
This text has white color on #AD5170 background.