HEX: #987BAA
RGB: (152,123,170)
#987BAA contains red, green and blue colors in about the same proportion. Web safe color of #987BAA is #996699 (or #969).
#987BAA color RGB value is (152,123,170).
RGB: (152,123,170) (60%,48%,67%)
R 152 of 255 = 60%
G 123 of 255 = 48%
B 170 of 255 = 67%
R + G + B ~ 58%. #987BAA is middle color (not dark and not light).
R + G + B =
152 + 123 + 170 = 445 (100%)
R 152 of 445 ~ 34.16%
G 123 of 445 ~ 27.64%
B 170 of 445 ~ 38.2%
#987BAA color CMYK value is (11,28,0,33).
CMYK: (11,28,0,33) C11M28Y0K33 (11%,28%,0%,33%) (0.11/0.28/0.00/0.33)
98 | 7B | AA | |
---|---|---|---|
RGB | 152 | 123 | 170 |
HSL | 277° | 21.66% | 57.45% |
HSB/HSV | 277° | 27.65% | 66.67% |
CMYK | 10.59% | 27.65% | 0.00% |
33.33% |
HEX | 98 | 7B | AA |
Decimal | 152 | 123 | 170 |
Binary | 10011000 | 1111011 | 10101010 |
Octal | 230 | 173 | 252 |
Examples of css and html codes for elements with #987BAA color. Also use rgb(152,123,170) instead hex code.
.myTextColor { color: #987BAA; }
<p style="color:#987BAA">This sample text font color is #987BAA.</p>
This text font color is #987BAA.
.myBgColor { background-color: #987BAA; }
<div style="background-color:#987BAA">Inner text</div>
This div background color is #987BAA.
.myBorderColor { border: 1px solid #987BAA; }
<div style="border:3px solid #987BAA">Div</div>
This div border color is #987BAA.
.myOpacity80 { color: #987BAA; opacity: 0.8; }
<p style="color:#987BAA;opacity:0.8;">80%</p>
Text with #987BAA color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #987BAA;}
<p style="text-shadow: 3px 3px 1px #987BAA">Text here.</p>
This text has shadow with #987BAA color.
.textShadow {text-shadow: 3px 3px 1px #987BAA, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #987BAA, 5px 5px 20px red">Text here.</p>
This text has shadow with #987BAA primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#987BAA, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#987BAA, Direction=45, Strength=4)">Text</p>
This text has shadow with #987BAA and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #987BAA; -webkit-box-shadow: 1px 1px 3px 2px #987BAA; box-shadow: 1px 1px 3px 2px #987BAA; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #987BAA; -webkit-box-shadow: 1px 1px 3px 2px #987BAA; box-shadow:1px 1px 3px 2px #987BAA;">
Div content here</div>
This text has color #987BAA on black background.
This text has color #987BAA on white background.
This text has black color on #987BAA background.
This text has white color on #987BAA background.