HEX: #987CCD
RGB: (152,124,205)
#987CCD contains mainly red and blue colors. Web safe color of #987CCD is #9966CC (or #96C).
#987CCD color RGB value is (152,124,205).
RGB: (152,124,205) (60%,49%,80%)
R 152 of 255 = 60%
G 124 of 255 = 49%
B 205 of 255 = 80%
R + G + B ~ 63%. #987CCD is quite light color.
R + G + B =
152 + 124 + 205 = 481 (100%)
R 152 of 481 ~ 31.6%
G 124 of 481 ~ 25.78%
B 205 of 481 ~ 42.62%
#987CCD color CMYK value is (26,40,0,20).
CMYK: (26,40,0,20) C26M40Y0K20 (26%,40%,0%,20%) (0.26/0.40/0.00/0.20)
98 | 7C | CD | |
---|---|---|---|
RGB | 152 | 124 | 205 |
HSL | 261° | 44.75% | 64.51% |
HSB/HSV | 261° | 39.51% | 80.39% |
CMYK | 25.85% | 39.51% | 0.00% |
19.61% |
HEX | 98 | 7C | CD |
Decimal | 152 | 124 | 205 |
Binary | 10011000 | 1111100 | 11001101 |
Octal | 230 | 174 | 315 |
Examples of css and html codes for elements with #987CCD color. Also use rgb(152,124,205) instead hex code.
.myTextColor { color: #987CCD; }
<p style="color:#987CCD">This sample text font color is #987CCD.</p>
This text font color is #987CCD.
.myBgColor { background-color: #987CCD; }
<div style="background-color:#987CCD">Inner text</div>
This div background color is #987CCD.
.myBorderColor { border: 1px solid #987CCD; }
<div style="border:3px solid #987CCD">Div</div>
This div border color is #987CCD.
.myOpacity80 { color: #987CCD; opacity: 0.8; }
<p style="color:#987CCD;opacity:0.8;">80%</p>
Text with #987CCD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987CCD;}
<p style="text-shadow: 3px 3px 1px #987CCD">Text here.</p>
This text has shadow with #987CCD color.
.textShadow {text-shadow: 3px 3px 1px #987CCD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987CCD, 5px 5px 20px red">Text here.</p>
This text has shadow with #987CCD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987CCD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987CCD, Direction=45, Strength=4)">Text</p>
This text has shadow with #987CCD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987CCD; -webkit-box-shadow: 1px 1px 3px 2px #987CCD; box-shadow: 1px 1px 3px 2px #987CCD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987CCD; -webkit-box-shadow: 1px 1px 3px 2px #987CCD; box-shadow:1px 1px 3px 2px #987CCD;">
Div content here</div>
This text has color #987CCD on black background.
This text has color #987CCD on white background.
This text has black color on #987CCD background.
This text has white color on #987CCD background.