HEX: #998BD6
RGB: (153,139,214)
#998BD6 contains mainly blue color. Web safe color of #998BD6 is #9999CC (or #99C).
#998BD6 color RGB value is (153,139,214).
RGB: (153,139,214) (60%,55%,84%)
R 153 of 255 = 60%
G 139 of 255 = 55%
B 214 of 255 = 84%
R + G + B ~ 66%. #998BD6 is quite light color.
R + G + B =
153 + 139 + 214 = 506 (100%)
R 153 of 506 ~ 30.24%
G 139 of 506 ~ 27.47%
B 214 of 506 ~ 42.29%
#998BD6 color CMYK value is (29,35,0,16).
CMYK: (29,35,0,16) C29M35Y0K16 (29%,35%,0%,16%) (0.29/0.35/0.00/0.16)
99 | 8B | D6 | |
---|---|---|---|
RGB | 153 | 139 | 214 |
HSL | 251° | 47.77% | 69.22% |
HSB/HSV | 251° | 35.05% | 83.92% |
CMYK | 28.50% | 35.05% | 0.00% |
16.08% |
HEX | 99 | 8B | D6 |
Decimal | 153 | 139 | 214 |
Binary | 10011001 | 10001011 | 11010110 |
Octal | 231 | 213 | 326 |
Examples of css and html codes for elements with #998BD6 color. Also use rgb(153,139,214) instead hex code.
.myTextColor { color: #998BD6; }
<p style="color:#998BD6">This sample text font color is #998BD6.</p>
This text font color is #998BD6.
.myBgColor { background-color: #998BD6; }
<div style="background-color:#998BD6">Inner text</div>
This div background color is #998BD6.
.myBorderColor { border: 1px solid #998BD6; }
<div style="border:3px solid #998BD6">Div</div>
This div border color is #998BD6.
.myOpacity80 { color: #998BD6; opacity: 0.8; }
<p style="color:#998BD6;opacity:0.8;">80%</p>
Text with #998BD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998BD6;}
<p style="text-shadow: 3px 3px 1px #998BD6">Text here.</p>
This text has shadow with #998BD6 color.
.textShadow {text-shadow: 3px 3px 1px #998BD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998BD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #998BD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998BD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998BD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #998BD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998BD6; -webkit-box-shadow: 1px 1px 3px 2px #998BD6; box-shadow: 1px 1px 3px 2px #998BD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998BD6; -webkit-box-shadow: 1px 1px 3px 2px #998BD6; box-shadow:1px 1px 3px 2px #998BD6;">
Div content here</div>
This text has color #998BD6 on black background.
This text has color #998BD6 on white background.
This text has black color on #998BD6 background.
This text has white color on #998BD6 background.