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