HEX: #AD4A81
RGB: (173,74,129)
#AD4A81 contains mainly red and blue colors. Web safe color of #AD4A81 is #993399 (or #939).
#AD4A81 color RGB value is (173,74,129).
RGB: (173,74,129) (68%,29%,51%)
R 173 of 255 = 68%
G 74 of 255 = 29%
B 129 of 255 = 51%
R + G + B ~ 49%. #AD4A81 is middle color (not dark and not light).
R + G + B =
173 + 74 + 129 = 376 (100%)
R 173 of 376 ~ 46.01%
G 74 of 376 ~ 19.68%
B 129 of 376 ~ 34.31%
#AD4A81 color CMYK value is (0,57,25,32).
CMYK: (0,57,25,32) C0M57Y25K32 (0%,57%,25%,32%) (0.00/0.57/0.25/0.32)
AD | 4A | 81 | |
---|---|---|---|
RGB | 173 | 74 | 129 |
HSL | 327° | 40.08% | 48.43% |
HSB/HSV | 327° | 57.23% | 67.84% |
CMYK | 0.00% | 57.23% | 25.43% |
32.16% |
HEX | AD | 4A | 81 |
Decimal | 173 | 74 | 129 |
Binary | 10101101 | 1001010 | 10000001 |
Octal | 255 | 112 | 201 |
Examples of css and html codes for elements with #AD4A81 color. Also use rgb(173,74,129) instead hex code.
.myTextColor { color: #AD4A81; }
<p style="color:#AD4A81">This sample text font color is #AD4A81.</p>
This text font color is #AD4A81.
.myBgColor { background-color: #AD4A81; }
<div style="background-color:#AD4A81">Inner text</div>
This div background color is #AD4A81.
.myBorderColor { border: 1px solid #AD4A81; }
<div style="border:3px solid #AD4A81">Div</div>
This div border color is #AD4A81.
.myOpacity80 { color: #AD4A81; opacity: 0.8; }
<p style="color:#AD4A81;opacity:0.8;">80%</p>
Text with #AD4A81 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD4A81;}
<p style="text-shadow: 3px 3px 1px #AD4A81">Text here.</p>
This text has shadow with #AD4A81 color.
.textShadow {text-shadow: 3px 3px 1px #AD4A81, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD4A81, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD4A81 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD4A81, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD4A81, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD4A81 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD4A81; -webkit-box-shadow: 1px 1px 3px 2px #AD4A81; box-shadow: 1px 1px 3px 2px #AD4A81; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD4A81; -webkit-box-shadow: 1px 1px 3px 2px #AD4A81; box-shadow:1px 1px 3px 2px #AD4A81;">
Div content here</div>
This text has color #AD4A81 on black background.
This text has color #AD4A81 on white background.
This text has black color on #AD4A81 background.
This text has white color on #AD4A81 background.