HEX: #988DAD
RGB: (152,141,173)
#988DAD contains red, green and blue colors in about the same proportion. Web safe color of #988DAD is #999999 (or #999).
#988DAD color RGB value is (152,141,173).
RGB: (152,141,173) (60%,55%,68%)
R 152 of 255 = 60%
G 141 of 255 = 55%
B 173 of 255 = 68%
R + G + B ~ 61%. #988DAD is quite light color.
R + G + B =
152 + 141 + 173 = 466 (100%)
R 152 of 466 ~ 32.62%
G 141 of 466 ~ 30.26%
B 173 of 466 ~ 37.12%
#988DAD color CMYK value is (12,18,0,32).
CMYK: (12,18,0,32) C12M18Y0K32 (12%,18%,0%,32%) (0.12/0.18/0.00/0.32)
98 | 8D | AD | |
---|---|---|---|
RGB | 152 | 141 | 173 |
HSL | 261° | 16.33% | 61.57% |
HSB/HSV | 261° | 18.50% | 67.84% |
CMYK | 12.14% | 18.50% | 0.00% |
32.16% |
HEX | 98 | 8D | AD |
Decimal | 152 | 141 | 173 |
Binary | 10011000 | 10001101 | 10101101 |
Octal | 230 | 215 | 255 |
Examples of css and html codes for elements with #988DAD color. Also use rgb(152,141,173) instead hex code.
.myTextColor { color: #988DAD; }
<p style="color:#988DAD">This sample text font color is #988DAD.</p>
This text font color is #988DAD.
.myBgColor { background-color: #988DAD; }
<div style="background-color:#988DAD">Inner text</div>
This div background color is #988DAD.
.myBorderColor { border: 1px solid #988DAD; }
<div style="border:3px solid #988DAD">Div</div>
This div border color is #988DAD.
.myOpacity80 { color: #988DAD; opacity: 0.8; }
<p style="color:#988DAD;opacity:0.8;">80%</p>
Text with #988DAD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988DAD;}
<p style="text-shadow: 3px 3px 1px #988DAD">Text here.</p>
This text has shadow with #988DAD color.
.textShadow {text-shadow: 3px 3px 1px #988DAD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988DAD, 5px 5px 20px red">Text here.</p>
This text has shadow with #988DAD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988DAD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988DAD, Direction=45, Strength=4)">Text</p>
This text has shadow with #988DAD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988DAD; -webkit-box-shadow: 1px 1px 3px 2px #988DAD; box-shadow: 1px 1px 3px 2px #988DAD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988DAD; -webkit-box-shadow: 1px 1px 3px 2px #988DAD; box-shadow:1px 1px 3px 2px #988DAD;">
Div content here</div>
This text has color #988DAD on black background.
This text has color #988DAD on white background.
This text has black color on #988DAD background.
This text has white color on #988DAD background.