HEX: #988AD4
RGB: (152,138,212)
#988AD4 contains mainly blue color. Web safe color of #988AD4 is #9999CC (or #99C).
#988AD4 color RGB value is (152,138,212).
RGB: (152,138,212)
(60%, 54%, 83%)
R 152 of 255 = 60%
G 138 of 255 = 54%
B 212 of 255 = 83%
R + G + B ~ 66%. #988AD4 is quite light color.
R + G + B = 152 + 138 + 212 = 502 (100%)
R 152 of 502 ~ 30.28%
G 138 of 502 ~ 27.49%
B 212 of 502 ~ 42.23'%
#988AD4 color CMYK value is (28,35,0,17).
CMYK: (28,35,0,17)
C28M35Y0K17 (28%, 35%, 0%, 17%)
(0.28 / 0.35 / 0.00 / 0.17)
Color #988AD4 in popluar color models
98 | 8A | D4 | |
---|---|---|---|
RGB | 152 | 138 | 212 |
HSL | 251° | 46.25% | 68.63% |
HSB/HSV | 251° | 34.91% | 83.14% |
CMYK | 28.30% | 34.91% | 0.00% |
16.86% |
Color #988AD4 in popluar number systems.
HEX | 98 | 8A | D4 |
Decimal | 152 | 138 | 212 |
Binary | 10011000 | 10001010 | 11010100 |
Octal | 230 | 212 | 324 |
Shades of #988AD4
Tints of #988AD4
Examples of css and html codes for elements with #988AD4 color. Also use rgb(152,138,212) instead hex code.
.myTextColor { color: #988AD4; }
<p style="color:#988AD4">This sample text font color is #988AD4.</p>
This text font color is #988AD4.
.myBgColor { background-color: #988AD4; }
<div style="background-color:#988AD4">Inner text</div>
This div background color is #988AD4.
.myBorderColor { border: 1px solid #988AD4; }
<div style="border:3px solid #988AD4">Div</div>
This div border color is #988AD4.
.myOpacity80 { color: #988AD4; opacity: 0.8; }
<p style="color:#988AD4;opacity:0.8;">80%</p>
Text with #988AD4 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988AD4;}
<p style="text-shadow: 3px 3px 1px #988AD4">Text here.</p>
This text has shadow with #988AD4 color.
.textShadow {text-shadow: 3px 3px 1px #988AD4', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988AD4, 5px 5px 20px red">Text here.</p>
This text has shadow with #988AD4 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988AD4, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988AD4, Direction=45, Strength=4)">Text</p>
This text has shadow with #988AD4 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #988AD4;
-webkit-box-shadow: 1px 1px 3px 2px #988AD4;
box-shadow: 1px 1px 3px 2px #988AD4;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #988AD4; -webkit-box-shadow: 1px 1px 3px 2px #988AD4; box-shadow:1px 1px 3px 2px #988AD4;">
Div content here
</div>
This text has color #988AD4 on black background.
This text has color #988AD4 on white background.
This text has black color on #988AD4 background.
This text has white color on #988AD4 background.
Complementary color for #hex is #67752B.