HEX: #AD7F98
RGB: (173,127,152)
#AD7F98 contains red, green and blue colors in about the same proportion. Web safe color of #AD7F98 is #996699 (or #969).
#AD7F98 color RGB value is (173,127,152).
RGB: (173,127,152) (68%,50%,60%)
R 173 of 255 = 68%
G 127 of 255 = 50%
B 152 of 255 = 60%
R + G + B ~ 59%. #AD7F98 is middle color (not dark and not light).
R + G + B =
173 + 127 + 152 = 452 (100%)
R 173 of 452 ~ 38.27%
G 127 of 452 ~ 28.1%
B 152 of 452 ~ 33.63%
#AD7F98 color CMYK value is (0,27,12,32).
CMYK: (0,27,12,32) C0M27Y12K32 (0%,27%,12%,32%) (0.00/0.27/0.12/0.32)
AD | 7F | 98 | |
---|---|---|---|
RGB | 173 | 127 | 152 |
HSL | 327° | 21.90% | 58.82% |
HSB/HSV | 327° | 26.59% | 67.84% |
CMYK | 0.00% | 26.59% | 12.14% |
32.16% |
HEX | AD | 7F | 98 |
Decimal | 173 | 127 | 152 |
Binary | 10101101 | 1111111 | 10011000 |
Octal | 255 | 177 | 230 |
Examples of css and html codes for elements with #AD7F98 color. Also use rgb(173,127,152) instead hex code.
.myTextColor { color: #AD7F98; }
<p style="color:#AD7F98">This sample text font color is #AD7F98.</p>
This text font color is #AD7F98.
.myBgColor { background-color: #AD7F98; }
<div style="background-color:#AD7F98">Inner text</div>
This div background color is #AD7F98.
.myBorderColor { border: 1px solid #AD7F98; }
<div style="border:3px solid #AD7F98">Div</div>
This div border color is #AD7F98.
.myOpacity80 { color: #AD7F98; opacity: 0.8; }
<p style="color:#AD7F98;opacity:0.8;">80%</p>
Text with #AD7F98 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD7F98;}
<p style="text-shadow: 3px 3px 1px #AD7F98">Text here.</p>
This text has shadow with #AD7F98 color.
.textShadow {text-shadow: 3px 3px 1px #AD7F98, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD7F98, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD7F98 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD7F98, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD7F98, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD7F98 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD7F98; -webkit-box-shadow: 1px 1px 3px 2px #AD7F98; box-shadow: 1px 1px 3px 2px #AD7F98; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD7F98; -webkit-box-shadow: 1px 1px 3px 2px #AD7F98; box-shadow:1px 1px 3px 2px #AD7F98;">
Div content here</div>
This text has color #AD7F98 on black background.
This text has color #AD7F98 on white background.
This text has black color on #AD7F98 background.
This text has white color on #AD7F98 background.