HEX: #989ED9
RGB: (152,158,217)
#989ED9 contains mainly green and blue colors. Web safe color of #989ED9 is #9999CC (or #99C).
#989ED9 color RGB value is (152,158,217).
RGB: (152,158,217) (60%,62%,85%)
R 152 of 255 = 60%
G 158 of 255 = 62%
B 217 of 255 = 85%
R + G + B ~ 69%. #989ED9 is quite light color.
R + G + B =
152 + 158 + 217 = 527 (100%)
R 152 of 527 ~ 28.84%
G 158 of 527 ~ 29.98%
B 217 of 527 ~ 41.18%
#989ED9 color CMYK value is (30,27,0,15).
CMYK: (30,27,0,15) C30M27Y0K15 (30%,27%,0%,15%) (0.30/0.27/0.00/0.15)
98 | 9E | D9 | |
---|---|---|---|
RGB | 152 | 158 | 217 |
HSL | 234° | 46.10% | 72.35% |
HSB/HSV | 234° | 29.95% | 85.10% |
CMYK | 29.95% | 27.19% | 0.00% |
14.90% |
HEX | 98 | 9E | D9 |
Decimal | 152 | 158 | 217 |
Binary | 10011000 | 10011110 | 11011001 |
Octal | 230 | 236 | 331 |
Examples of css and html codes for elements with #989ED9 color. Also use rgb(152,158,217) instead hex code.
.myTextColor { color: #989ED9; }
<p style="color:#989ED9">This sample text font color is #989ED9.</p>
This text font color is #989ED9.
.myBgColor { background-color: #989ED9; }
<div style="background-color:#989ED9">Inner text</div>
This div background color is #989ED9.
.myBorderColor { border: 1px solid #989ED9; }
<div style="border:3px solid #989ED9">Div</div>
This div border color is #989ED9.
.myOpacity80 { color: #989ED9; opacity: 0.8; }
<p style="color:#989ED9;opacity:0.8;">80%</p>
Text with #989ED9 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #989ED9;}
<p style="text-shadow: 3px 3px 1px #989ED9">Text here.</p>
This text has shadow with #989ED9 color.
.textShadow {text-shadow: 3px 3px 1px #989ED9, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #989ED9, 5px 5px 20px red">Text here.</p>
This text has shadow with #989ED9 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#989ED9, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#989ED9, Direction=45, Strength=4)">Text</p>
This text has shadow with #989ED9 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #989ED9; -webkit-box-shadow: 1px 1px 3px 2px #989ED9; box-shadow: 1px 1px 3px 2px #989ED9; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #989ED9; -webkit-box-shadow: 1px 1px 3px 2px #989ED9; box-shadow:1px 1px 3px 2px #989ED9;">
Div content here</div>
This text has color #989ED9 on black background.
This text has color #989ED9 on white background.
This text has black color on #989ED9 background.
This text has white color on #989ED9 background.