HEX: #988DAB
RGB: (152,141,171)
#988DAB contains red, green and blue colors in about the same proportion. Web safe color of #988DAB is #999999 (or #999).
#988DAB color RGB value is (152,141,171).
RGB: (152,141,171) (60%,55%,67%)
R 152 of 255 = 60%
G 141 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 61%. #988DAB is quite light color.
R + G + B =
152 + 141 + 171 = 464 (100%)
R 152 of 464 ~ 32.76%
G 141 of 464 ~ 30.39%
B 171 of 464 ~ 36.85%
#988DAB color CMYK value is (11,18,0,33).
CMYK: (11,18,0,33) C11M18Y0K33 (11%,18%,0%,33%) (0.11/0.18/0.00/0.33)
98 | 8D | AB | |
---|---|---|---|
RGB | 152 | 141 | 171 |
HSL | 262° | 15.15% | 61.18% |
HSB/HSV | 262° | 17.54% | 67.06% |
CMYK | 11.11% | 17.54% | 0.00% |
32.94% |
HEX | 98 | 8D | AB |
Decimal | 152 | 141 | 171 |
Binary | 10011000 | 10001101 | 10101011 |
Octal | 230 | 215 | 253 |
Examples of css and html codes for elements with #988DAB color. Also use rgb(152,141,171) instead hex code.
.myTextColor { color: #988DAB; }
<p style="color:#988DAB">This sample text font color is #988DAB.</p>
This text font color is #988DAB.
.myBgColor { background-color: #988DAB; }
<div style="background-color:#988DAB">Inner text</div>
This div background color is #988DAB.
.myBorderColor { border: 1px solid #988DAB; }
<div style="border:3px solid #988DAB">Div</div>
This div border color is #988DAB.
.myOpacity80 { color: #988DAB; opacity: 0.8; }
<p style="color:#988DAB;opacity:0.8;">80%</p>
Text with #988DAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988DAB;}
<p style="text-shadow: 3px 3px 1px #988DAB">Text here.</p>
This text has shadow with #988DAB color.
.textShadow {text-shadow: 3px 3px 1px #988DAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988DAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #988DAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988DAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988DAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #988DAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988DAB; -webkit-box-shadow: 1px 1px 3px 2px #988DAB; box-shadow: 1px 1px 3px 2px #988DAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988DAB; -webkit-box-shadow: 1px 1px 3px 2px #988DAB; box-shadow:1px 1px 3px 2px #988DAB;">
Div content here</div>
This text has color #988DAB on black background.
This text has color #988DAB on white background.
This text has black color on #988DAB background.
This text has white color on #988DAB background.