HEX: #987EDA
RGB: (152,126,218)
#987EDA contains mainly blue color. Web safe color of #987EDA is #9966CC (or #96C).
#987EDA color RGB value is (152,126,218).
RGB: (152,126,218)
(60%, 49%, 85%)
R 152 of 255 = 60%
G 126 of 255 = 49%
B 218 of 255 = 85%
R + G + B ~ 65%. #987EDA is quite light color.
R + G + B = 152 + 126 + 218 = 496 (100%)
R 152 of 496 ~ 30.65%
G 126 of 496 ~ 25.4%
B 218 of 496 ~ 43.95'%
#987EDA color CMYK value is (30,42,0,15).
CMYK: (30,42,0,15)
C30M42Y0K15 (30%, 42%, 0%, 15%)
(0.30 / 0.42 / 0.00 / 0.15)
Color #987EDA in popluar color models
98 | 7E | DA | |
---|---|---|---|
RGB | 152 | 126 | 218 |
HSL | 257° | 55.42% | 67.45% |
HSB/HSV | 257° | 42.20% | 85.49% |
CMYK | 30.28% | 42.20% | 0.00% |
14.51% |
Color #987EDA in popluar number systems.
HEX | 98 | 7E | DA |
Decimal | 152 | 126 | 218 |
Binary | 10011000 | 1111110 | 11011010 |
Octal | 230 | 176 | 332 |
Shades of #987EDA
Tints of #987EDA
Examples of css and html codes for elements with #987EDA color. Also use rgb(152,126,218) instead hex code.
.myTextColor { color: #987EDA; }
<p style="color:#987EDA">This sample text font color is #987EDA.</p>
This text font color is #987EDA.
.myBgColor { background-color: #987EDA; }
<div style="background-color:#987EDA">Inner text</div>
This div background color is #987EDA.
.myBorderColor { border: 1px solid #987EDA; }
<div style="border:3px solid #987EDA">Div</div>
This div border color is #987EDA.
.myOpacity80 { color: #987EDA; opacity: 0.8; }
<p style="color:#987EDA;opacity:0.8;">80%</p>
Text with #987EDA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987EDA;}
<p style="text-shadow: 3px 3px 1px #987EDA">Text here.</p>
This text has shadow with #987EDA color.
.textShadow {text-shadow: 3px 3px 1px #987EDA', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987EDA, 5px 5px 20px red">Text here.</p>
This text has shadow with #987EDA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987EDA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987EDA, Direction=45, Strength=4)">Text</p>
This text has shadow with #987EDA and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #987EDA;
-webkit-box-shadow: 1px 1px 3px 2px #987EDA;
box-shadow: 1px 1px 3px 2px #987EDA;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #987EDA; -webkit-box-shadow: 1px 1px 3px 2px #987EDA; box-shadow:1px 1px 3px 2px #987EDA;">
Div content here
</div>
This text has color #987EDA on black background.
This text has color #987EDA on white background.
This text has black color on #987EDA background.
This text has white color on #987EDA background.
Complementary color for #987EDA is #678125.