HEX: #998CAB
RGB: (153,140,171)
#998CAB contains red, green and blue colors in about the same proportion. Web safe color of #998CAB is #999999 (or #999).
#998CAB color RGB value is (153,140,171).
RGB: (153,140,171) (60%,55%,67%)
R 153 of 255 = 60%
G 140 of 255 = 55%
B 171 of 255 = 67%
R + G + B ~ 61%. #998CAB is quite light color.
R + G + B =
153 + 140 + 171 = 464 (100%)
R 153 of 464 ~ 32.97%
G 140 of 464 ~ 30.17%
B 171 of 464 ~ 36.85%
#998CAB 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)
99 | 8C | AB | |
---|---|---|---|
RGB | 153 | 140 | 171 |
HSL | 265° | 15.58% | 60.98% |
HSB/HSV | 265° | 18.13% | 67.06% |
CMYK | 10.53% | 18.13% | 0.00% |
32.94% |
HEX | 99 | 8C | AB |
Decimal | 153 | 140 | 171 |
Binary | 10011001 | 10001100 | 10101011 |
Octal | 231 | 214 | 253 |
Examples of css and html codes for elements with #998CAB color. Also use rgb(153,140,171) instead hex code.
.myTextColor { color: #998CAB; }
<p style="color:#998CAB">This sample text font color is #998CAB.</p>
This text font color is #998CAB.
.myBgColor { background-color: #998CAB; }
<div style="background-color:#998CAB">Inner text</div>
This div background color is #998CAB.
.myBorderColor { border: 1px solid #998CAB; }
<div style="border:3px solid #998CAB">Div</div>
This div border color is #998CAB.
.myOpacity80 { color: #998CAB; opacity: 0.8; }
<p style="color:#998CAB;opacity:0.8;">80%</p>
Text with #998CAB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998CAB;}
<p style="text-shadow: 3px 3px 1px #998CAB">Text here.</p>
This text has shadow with #998CAB color.
.textShadow {text-shadow: 3px 3px 1px #998CAB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998CAB, 5px 5px 20px red">Text here.</p>
This text has shadow with #998CAB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998CAB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998CAB, Direction=45, Strength=4)">Text</p>
This text has shadow with #998CAB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998CAB; -webkit-box-shadow: 1px 1px 3px 2px #998CAB; box-shadow: 1px 1px 3px 2px #998CAB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998CAB; -webkit-box-shadow: 1px 1px 3px 2px #998CAB; box-shadow:1px 1px 3px 2px #998CAB;">
Div content here</div>
This text has color #998CAB on black background.
This text has color #998CAB on white background.
This text has black color on #998CAB background.
This text has white color on #998CAB background.