HEX: #987EE0
RGB: (152,126,224)
#987EE0 contains mainly blue color. Web safe color of #987EE0 is #9966CC (or #96C).
#987EE0 color RGB value is (152,126,224).
RGB: (152,126,224) (60%,49%,88%)
R 152 of 255 = 60%
G 126 of 255 = 49%
B 224 of 255 = 88%
R + G + B ~ 66%. #987EE0 is quite light color.
R + G + B =
152 + 126 + 224 = 502 (100%)
R 152 of 502 ~ 30.28%
G 126 of 502 ~ 25.1%
B 224 of 502 ~ 44.62%
#987EE0 color CMYK value is (32,44,0,12).
CMYK: (32,44,0,12) C32M44Y0K12 (32%,44%,0%,12%) (0.32/0.44/0.00/0.12)
98 | 7E | E0 | |
---|---|---|---|
RGB | 152 | 126 | 224 |
HSL | 256° | 61.25% | 68.63% |
HSB/HSV | 256° | 43.75% | 87.84% |
CMYK | 32.14% | 43.75% | 0.00% |
12.16% |
HEX | 98 | 7E | E0 |
Decimal | 152 | 126 | 224 |
Binary | 10011000 | 1111110 | 11100000 |
Octal | 230 | 176 | 340 |
Examples of css and html codes for elements with #987EE0 color. Also use rgb(152,126,224) instead hex code.
.myTextColor { color: #987EE0; }
<p style="color:#987EE0">This sample text font color is #987EE0.</p>
This text font color is #987EE0.
.myBgColor { background-color: #987EE0; }
<div style="background-color:#987EE0">Inner text</div>
This div background color is #987EE0.
.myBorderColor { border: 1px solid #987EE0; }
<div style="border:3px solid #987EE0">Div</div>
This div border color is #987EE0.
.myOpacity80 { color: #987EE0; opacity: 0.8; }
<p style="color:#987EE0;opacity:0.8;">80%</p>
Text with #987EE0 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987EE0;}
<p style="text-shadow: 3px 3px 1px #987EE0">Text here.</p>
This text has shadow with #987EE0 color.
.textShadow {text-shadow: 3px 3px 1px #987EE0, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987EE0, 5px 5px 20px red">Text here.</p>
This text has shadow with #987EE0 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987EE0, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987EE0, Direction=45, Strength=4)">Text</p>
This text has shadow with #987EE0 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987EE0; -webkit-box-shadow: 1px 1px 3px 2px #987EE0; box-shadow: 1px 1px 3px 2px #987EE0; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987EE0; -webkit-box-shadow: 1px 1px 3px 2px #987EE0; box-shadow:1px 1px 3px 2px #987EE0;">
Div content here</div>
This text has color #987EE0 on black background.
This text has color #987EE0 on white background.
This text has black color on #987EE0 background.
This text has white color on #987EE0 background.