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