HEX: #AD97BC
RGB: (173,151,188)
#AD97BC contains red, green and blue colors in about the same proportion. Web safe color of #AD97BC is #9999CC (or #99C).
#AD97BC color RGB value is (173,151,188).
RGB: (173,151,188) (68%,59%,74%)
R 173 of 255 = 68%
G 151 of 255 = 59%
B 188 of 255 = 74%
R + G + B ~ 67%. #AD97BC is quite light color.
R + G + B =
173 + 151 + 188 = 512 (100%)
R 173 of 512 ~ 33.79%
G 151 of 512 ~ 29.49%
B 188 of 512 ~ 36.72%
#AD97BC color CMYK value is (8,20,0,26).
CMYK: (8,20,0,26) C8M20Y0K26 (8%,20%,0%,26%) (0.08/0.20/0.00/0.26)
AD | 97 | BC | |
---|---|---|---|
RGB | 173 | 151 | 188 |
HSL | 276° | 21.64% | 66.47% |
HSB/HSV | 276° | 19.68% | 73.73% |
CMYK | 7.98% | 19.68% | 0.00% |
26.27% |
HEX | AD | 97 | BC |
Decimal | 173 | 151 | 188 |
Binary | 10101101 | 10010111 | 10111100 |
Octal | 255 | 227 | 274 |
Examples of css and html codes for elements with #AD97BC color. Also use rgb(173,151,188) instead hex code.
.myTextColor { color: #AD97BC; }
<p style="color:#AD97BC">This sample text font color is #AD97BC.</p>
This text font color is #AD97BC.
.myBgColor { background-color: #AD97BC; }
<div style="background-color:#AD97BC">Inner text</div>
This div background color is #AD97BC.
.myBorderColor { border: 1px solid #AD97BC; }
<div style="border:3px solid #AD97BC">Div</div>
This div border color is #AD97BC.
.myOpacity80 { color: #AD97BC; opacity: 0.8; }
<p style="color:#AD97BC;opacity:0.8;">80%</p>
Text with #AD97BC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD97BC;}
<p style="text-shadow: 3px 3px 1px #AD97BC">Text here.</p>
This text has shadow with #AD97BC color.
.textShadow {text-shadow: 3px 3px 1px #AD97BC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD97BC, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD97BC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD97BC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD97BC, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD97BC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD97BC; -webkit-box-shadow: 1px 1px 3px 2px #AD97BC; box-shadow: 1px 1px 3px 2px #AD97BC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD97BC; -webkit-box-shadow: 1px 1px 3px 2px #AD97BC; box-shadow:1px 1px 3px 2px #AD97BC;">
Div content here</div>
This text has color #AD97BC on black background.
This text has color #AD97BC on white background.
This text has black color on #AD97BC background.
This text has white color on #AD97BC background.