HEX: #AD98D1
RGB: (173,152,209)
#AD98D1 contains red, green and blue colors in about the same proportion. Web safe color of #AD98D1 is #9999CC (or #99C).
#AD98D1 color RGB value is (173,152,209).
RGB: (173,152,209) (68%,60%,82%)
R 173 of 255 = 68%
G 152 of 255 = 60%
B 209 of 255 = 82%
R + G + B ~ 70%. #AD98D1 is quite light color.
R + G + B =
173 + 152 + 209 = 534 (100%)
R 173 of 534 ~ 32.4%
G 152 of 534 ~ 28.46%
B 209 of 534 ~ 39.14%
#AD98D1 color CMYK value is (17,27,0,18).
CMYK: (17,27,0,18) C17M27Y0K18 (17%,27%,0%,18%) (0.17/0.27/0.00/0.18)
AD | 98 | D1 | |
---|---|---|---|
RGB | 173 | 152 | 209 |
HSL | 262° | 38.26% | 70.78% |
HSB/HSV | 262° | 27.27% | 81.96% |
CMYK | 17.22% | 27.27% | 0.00% |
18.04% |
HEX | AD | 98 | D1 |
Decimal | 173 | 152 | 209 |
Binary | 10101101 | 10011000 | 11010001 |
Octal | 255 | 230 | 321 |
Examples of css and html codes for elements with #AD98D1 color. Also use rgb(173,152,209) instead hex code.
.myTextColor { color: #AD98D1; }
<p style="color:#AD98D1">This sample text font color is #AD98D1.</p>
This text font color is #AD98D1.
.myBgColor { background-color: #AD98D1; }
<div style="background-color:#AD98D1">Inner text</div>
This div background color is #AD98D1.
.myBorderColor { border: 1px solid #AD98D1; }
<div style="border:3px solid #AD98D1">Div</div>
This div border color is #AD98D1.
.myOpacity80 { color: #AD98D1; opacity: 0.8; }
<p style="color:#AD98D1;opacity:0.8;">80%</p>
Text with #AD98D1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD98D1;}
<p style="text-shadow: 3px 3px 1px #AD98D1">Text here.</p>
This text has shadow with #AD98D1 color.
.textShadow {text-shadow: 3px 3px 1px #AD98D1, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD98D1, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD98D1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD98D1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD98D1, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD98D1 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD98D1; -webkit-box-shadow: 1px 1px 3px 2px #AD98D1; box-shadow: 1px 1px 3px 2px #AD98D1; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD98D1; -webkit-box-shadow: 1px 1px 3px 2px #AD98D1; box-shadow:1px 1px 3px 2px #AD98D1;">
Div content here</div>
This text has color #AD98D1 on black background.
This text has color #AD98D1 on white background.
This text has black color on #AD98D1 background.
This text has white color on #AD98D1 background.