HEX: #987AB1
RGB: (152,122,177)
#987AB1 contains red, green and blue colors in about the same proportion. Web safe color of #987AB1 is #996699 (or #969).
#987AB1 color RGB value is (152,122,177).
RGB: (152,122,177)
(60%, 48%, 69%)
R 152 of 255 = 60%
G 122 of 255 = 48%
B 177 of 255 = 69%
R + G + B ~ 59%. #987AB1 is middle color (not dark and not light).
R + G + B = 152 + 122 + 177 = 451 (100%)
R 152 of 451 ~ 33.7%
G 122 of 451 ~ 27.05%
B 177 of 451 ~ 39.25'%
#987AB1 color CMYK value is (14,31,0,31).
CMYK: (14,31,0,31) C14M31Y0K31 (14%,31%,0%,31%) (0.14/0.31/0.00/0.31)
Color #987AB1 in popluar color models
98 | 7A | B1 | |
---|---|---|---|
RGB | 152 | 122 | 177 |
HSL | 273° | 26.07% | 58.63% |
HSB/HSV | 273° | 31.07% | 69.41% |
CMYK | 14.12% | 31.07% | 0.00% |
30.59% |
Color #987AB1 in popluar number systems.
HEX | 98 | 7A | B1 |
Decimal | 152 | 122 | 177 |
Binary | 10011000 | 1111010 | 10110001 |
Octal | 230 | 172 | 261 |
Shades of #987AB1
Tints of #987AB1
Examples of css and html codes for elements with #987AB1 color. Also use rgb(152,122,177) instead hex code.
.myTextColor { color: #987AB1; }
<p style="color:#987AB1">This sample text font color is #987AB1.</p>
This text font color is #987AB1.
.myBgColor { background-color: #987AB1; }
<div style="background-color:#987AB1">Inner text</div>
This div background color is #987AB1.
.myBorderColor { border: 1px solid #987AB1; }
<div style="border:3px solid #987AB1">Div</div>
This div border color is #987AB1.
.myOpacity80 { color: #987AB1; opacity: 0.8; }
<p style="color:#987AB1;opacity:0.8;">80%</p>
Text with #987AB1 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987AB1;}
<p style="text-shadow: 3px 3px 1px #987AB1">Text here.</p>
This text has shadow with #987AB1 color.
.textShadow {text-shadow: 3px 3px 1px #987AB1', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987AB1, 5px 5px 20px red">Text here.</p>
This text has shadow with #987AB1 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987AB1, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987AB1, Direction=45, Strength=4)">Text</p>
This text has shadow with #987AB1 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #987AB1;
-webkit-box-shadow: 1px 1px 3px 2px #987AB1;
box-shadow: 1px 1px 3px 2px #987AB1;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #987AB1; -webkit-box-shadow: 1px 1px 3px 2px #987AB1; box-shadow:1px 1px 3px 2px #987AB1;">
Div content here
</div>
This text has color #987AB1 on black background.
This text has color #987AB1 on white background.
This text has black color on #987AB1 background.
This text has white color on #987AB1 background.
Complementary color for #hex is #67854E.