HEX: #AD97BD
RGB: (173,151,189)
#AD97BD contains red, green and blue colors in about the same proportion. Web safe color of #AD97BD is #9999CC (or #99C).
#AD97BD color RGB value is (173,151,189).
RGB: (173,151,189) (68%,59%,74%)
R 173 of 255 = 68%
G 151 of 255 = 59%
B 189 of 255 = 74%
R + G + B ~ 67%. #AD97BD is quite light color.
R + G + B =
173 + 151 + 189 = 513 (100%)
R 173 of 513 ~ 33.72%
G 151 of 513 ~ 29.43%
B 189 of 513 ~ 36.84%
#AD97BD 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 | BD | |
---|---|---|---|
RGB | 173 | 151 | 189 |
HSL | 275° | 22.35% | 66.67% |
HSB/HSV | 275° | 20.11% | 74.12% |
CMYK | 8.47% | 20.11% | 0.00% |
25.88% |
HEX | AD | 97 | BD |
Decimal | 173 | 151 | 189 |
Binary | 10101101 | 10010111 | 10111101 |
Octal | 255 | 227 | 275 |
Examples of css and html codes for elements with #AD97BD color. Also use rgb(173,151,189) instead hex code.
.myTextColor { color: #AD97BD; }
<p style="color:#AD97BD">This sample text font color is #AD97BD.</p>
This text font color is #AD97BD.
.myBgColor { background-color: #AD97BD; }
<div style="background-color:#AD97BD">Inner text</div>
This div background color is #AD97BD.
.myBorderColor { border: 1px solid #AD97BD; }
<div style="border:3px solid #AD97BD">Div</div>
This div border color is #AD97BD.
.myOpacity80 { color: #AD97BD; opacity: 0.8; }
<p style="color:#AD97BD;opacity:0.8;">80%</p>
Text with #AD97BD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD97BD;}
<p style="text-shadow: 3px 3px 1px #AD97BD">Text here.</p>
This text has shadow with #AD97BD color.
.textShadow {text-shadow: 3px 3px 1px #AD97BD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD97BD, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD97BD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD97BD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD97BD, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD97BD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD97BD; -webkit-box-shadow: 1px 1px 3px 2px #AD97BD; box-shadow: 1px 1px 3px 2px #AD97BD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD97BD; -webkit-box-shadow: 1px 1px 3px 2px #AD97BD; box-shadow:1px 1px 3px 2px #AD97BD;">
Div content here</div>
This text has color #AD97BD on black background.
This text has color #AD97BD on white background.
This text has black color on #AD97BD background.
This text has white color on #AD97BD background.