HEX: #AD7E9A
RGB: (173,126,154)
#AD7E9A contains red, green and blue colors in about the same proportion. Web safe color of #AD7E9A is #996699 (or #969).
#AD7E9A color RGB value is (173,126,154).
RGB: (173,126,154) (68%,49%,60%)
R 173 of 255 = 68%
G 126 of 255 = 49%
B 154 of 255 = 60%
R + G + B ~ 59%. #AD7E9A is middle color (not dark and not light).
R + G + B =
173 + 126 + 154 = 453 (100%)
R 173 of 453 ~ 38.19%
G 126 of 453 ~ 27.81%
B 154 of 453 ~ 34%
#AD7E9A color CMYK value is (0,27,11,32).
CMYK: (0,27,11,32) C0M27Y11K32 (0%,27%,11%,32%) (0.00/0.27/0.11/0.32)
AD | 7E | 9A | |
---|---|---|---|
RGB | 173 | 126 | 154 |
HSL | 324° | 22.27% | 58.63% |
HSB/HSV | 324° | 27.17% | 67.84% |
CMYK | 0.00% | 27.17% | 10.98% |
32.16% |
HEX | AD | 7E | 9A |
Decimal | 173 | 126 | 154 |
Binary | 10101101 | 1111110 | 10011010 |
Octal | 255 | 176 | 232 |
Examples of css and html codes for elements with #AD7E9A color. Also use rgb(173,126,154) instead hex code.
.myTextColor { color: #AD7E9A; }
<p style="color:#AD7E9A">This sample text font color is #AD7E9A.</p>
This text font color is #AD7E9A.
.myBgColor { background-color: #AD7E9A; }
<div style="background-color:#AD7E9A">Inner text</div>
This div background color is #AD7E9A.
.myBorderColor { border: 1px solid #AD7E9A; }
<div style="border:3px solid #AD7E9A">Div</div>
This div border color is #AD7E9A.
.myOpacity80 { color: #AD7E9A; opacity: 0.8; }
<p style="color:#AD7E9A;opacity:0.8;">80%</p>
Text with #AD7E9A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7E9A;}
<p style="text-shadow: 3px 3px 1px #AD7E9A">Text here.</p>
This text has shadow with #AD7E9A color.
.textShadow {text-shadow: 3px 3px 1px #AD7E9A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7E9A, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7E9A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7E9A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7E9A, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7E9A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7E9A; -webkit-box-shadow: 1px 1px 3px 2px #AD7E9A; box-shadow: 1px 1px 3px 2px #AD7E9A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7E9A; -webkit-box-shadow: 1px 1px 3px 2px #AD7E9A; box-shadow:1px 1px 3px 2px #AD7E9A;">
Div content here</div>
This text has color #AD7E9A on black background.
This text has color #AD7E9A on white background.
This text has black color on #AD7E9A background.
This text has white color on #AD7E9A background.