HEX: #AD98C3
RGB: (173,152,195)
#AD98C3 contains red, green and blue colors in about the same proportion. Web safe color of #AD98C3 is #9999CC (or #99C).
#AD98C3 color RGB value is (173,152,195).
RGB: (173,152,195) (68%,60%,76%)
R 173 of 255 = 68%
G 152 of 255 = 60%
B 195 of 255 = 76%
R + G + B ~ 68%. #AD98C3 is quite light color.
R + G + B =
173 + 152 + 195 = 520 (100%)
R 173 of 520 ~ 33.27%
G 152 of 520 ~ 29.23%
B 195 of 520 ~ 37.5%
#AD98C3 color CMYK value is (11,22,0,24).
CMYK: (11,22,0,24) C11M22Y0K24 (11%,22%,0%,24%) (0.11/0.22/0.00/0.24)
AD | 98 | C3 | |
---|---|---|---|
RGB | 173 | 152 | 195 |
HSL | 269° | 26.38% | 68.04% |
HSB/HSV | 269° | 22.05% | 76.47% |
CMYK | 11.28% | 22.05% | 0.00% |
23.53% |
HEX | AD | 98 | C3 |
Decimal | 173 | 152 | 195 |
Binary | 10101101 | 10011000 | 11000011 |
Octal | 255 | 230 | 303 |
Examples of css and html codes for elements with #AD98C3 color. Also use rgb(173,152,195) instead hex code.
.myTextColor { color: #AD98C3; }
<p style="color:#AD98C3">This sample text font color is #AD98C3.</p>
This text font color is #AD98C3.
.myBgColor { background-color: #AD98C3; }
<div style="background-color:#AD98C3">Inner text</div>
This div background color is #AD98C3.
.myBorderColor { border: 1px solid #AD98C3; }
<div style="border:3px solid #AD98C3">Div</div>
This div border color is #AD98C3.
.myOpacity80 { color: #AD98C3; opacity: 0.8; }
<p style="color:#AD98C3;opacity:0.8;">80%</p>
Text with #AD98C3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #AD98C3;}
<p style="text-shadow: 3px 3px 1px #AD98C3">Text here.</p>
This text has shadow with #AD98C3 color.
.textShadow {text-shadow: 3px 3px 1px #AD98C3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #AD98C3, 5px 5px 20px red">Text here.</p>
This text has shadow with #AD98C3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#AD98C3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#AD98C3, Direction=45, Strength=4)">Text</p>
This text has shadow with #AD98C3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #AD98C3; -webkit-box-shadow: 1px 1px 3px 2px #AD98C3; box-shadow: 1px 1px 3px 2px #AD98C3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #AD98C3; -webkit-box-shadow: 1px 1px 3px 2px #AD98C3; box-shadow:1px 1px 3px 2px #AD98C3;">
Div content here</div>
This text has color #AD98C3 on black background.
This text has color #AD98C3 on white background.
This text has black color on #AD98C3 background.
This text has white color on #AD98C3 background.