HEX: #988BD2
RGB: (152,139,210)
#988BD2 contains mainly red and blue colors. Web safe color of #988BD2 is #9999CC (or #99C).
#988BD2 color RGB value is (152,139,210).
RGB: (152,139,210)
(60%, 55%, 82%)
R 152 of 255 = 60%
G 139 of 255 = 55%
B 210 of 255 = 82%
R + G + B ~ 66%. #988BD2 is quite light color.
R + G + B = 152 + 139 + 210 = 501 (100%)
R 152 of 501 ~ 30.34%
G 139 of 501 ~ 27.74%
B 210 of 501 ~ 41.92'%
#988BD2 color CMYK value is (28,34,0,18).
CMYK: (28,34,0,18) C28M34Y0K18 (28%,34%,0%,18%) (0.28/0.34/0.00/0.18)
Color #988BD2 in popluar color models
98 | 8B | D2 | |
---|---|---|---|
RGB | 152 | 139 | 210 |
HSL | 251° | 44.10% | 68.43% |
HSB/HSV | 251° | 33.81% | 82.35% |
CMYK | 27.62% | 33.81% | 0.00% |
17.65% |
Color #988BD2 in popluar number systems.
HEX | 98 | 8B | D2 |
Decimal | 152 | 139 | 210 |
Binary | 10011000 | 10001011 | 11010010 |
Octal | 230 | 213 | 322 |
Shades of #988BD2
Tints of #988BD2
Examples of css and html codes for elements with #988BD2 color. Also use rgb(152,139,210) instead hex code.
.myTextColor { color: #988BD2; }
<p style="color:#988BD2">This sample text font color is #988BD2.</p>
This text font color is #988BD2.
.myBgColor { background-color: #988BD2; }
<div style="background-color:#988BD2">Inner text</div>
This div background color is #988BD2.
.myBorderColor { border: 1px solid #988BD2; }
<div style="border:3px solid #988BD2">Div</div>
This div border color is #988BD2.
.myOpacity80 { color: #988BD2; opacity: 0.8; }
<p style="color:#988BD2;opacity:0.8;">80%</p>
Text with #988BD2 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988BD2;}
<p style="text-shadow: 3px 3px 1px #988BD2">Text here.</p>
This text has shadow with #988BD2 color.
.textShadow {text-shadow: 3px 3px 1px #988BD2', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988BD2, 5px 5px 20px red">Text here.</p>
This text has shadow with #988BD2 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988BD2, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988BD2, Direction=45, Strength=4)">Text</p>
This text has shadow with #988BD2 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #988BD2;
-webkit-box-shadow: 1px 1px 3px 2px #988BD2;
box-shadow: 1px 1px 3px 2px #988BD2;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #988BD2; -webkit-box-shadow: 1px 1px 3px 2px #988BD2; box-shadow:1px 1px 3px 2px #988BD2;">
Div content here
</div>
This text has color #988BD2 on black background.
This text has color #988BD2 on white background.
This text has black color on #988BD2 background.
This text has white color on #988BD2 background.
Complementary color for #hex is #67742D.