HEX: #998DCB
RGB: (153,141,203)
#998DCB contains mainly red and blue colors. Web safe color of #998DCB is #9999CC (or #99C).
#998DCB color RGB value is (153,141,203).
RGB: (153,141,203) (60%,55%,80%)
R 153 of 255 = 60%
G 141 of 255 = 55%
B 203 of 255 = 80%
R + G + B ~ 65%. #998DCB is quite light color.
R + G + B =
153 + 141 + 203 = 497 (100%)
R 153 of 497 ~ 30.78%
G 141 of 497 ~ 28.37%
B 203 of 497 ~ 40.85%
#998DCB color CMYK value is (25,31,0,20).
CMYK: (25,31,0,20) C25M31Y0K20 (25%,31%,0%,20%) (0.25/0.31/0.00/0.20)
99 | 8D | CB | |
---|---|---|---|
RGB | 153 | 141 | 203 |
HSL | 252° | 37.35% | 67.45% |
HSB/HSV | 252° | 30.54% | 79.61% |
CMYK | 24.63% | 30.54% | 0.00% |
20.39% |
HEX | 99 | 8D | CB |
Decimal | 153 | 141 | 203 |
Binary | 10011001 | 10001101 | 11001011 |
Octal | 231 | 215 | 313 |
Examples of css and html codes for elements with #998DCB color. Also use rgb(153,141,203) instead hex code.
.myTextColor { color: #998DCB; }
<p style="color:#998DCB">This sample text font color is #998DCB.</p>
This text font color is #998DCB.
.myBgColor { background-color: #998DCB; }
<div style="background-color:#998DCB">Inner text</div>
This div background color is #998DCB.
.myBorderColor { border: 1px solid #998DCB; }
<div style="border:3px solid #998DCB">Div</div>
This div border color is #998DCB.
.myOpacity80 { color: #998DCB; opacity: 0.8; }
<p style="color:#998DCB;opacity:0.8;">80%</p>
Text with #998DCB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998DCB;}
<p style="text-shadow: 3px 3px 1px #998DCB">Text here.</p>
This text has shadow with #998DCB color.
.textShadow {text-shadow: 3px 3px 1px #998DCB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998DCB, 5px 5px 20px red">Text here.</p>
This text has shadow with #998DCB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998DCB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998DCB, Direction=45, Strength=4)">Text</p>
This text has shadow with #998DCB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998DCB; -webkit-box-shadow: 1px 1px 3px 2px #998DCB; box-shadow: 1px 1px 3px 2px #998DCB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998DCB; -webkit-box-shadow: 1px 1px 3px 2px #998DCB; box-shadow:1px 1px 3px 2px #998DCB;">
Div content here</div>
This text has color #998DCB on black background.
This text has color #998DCB on white background.
This text has black color on #998DCB background.
This text has white color on #998DCB background.