HEX: #9C87BB
RGB: (156,135,187)
#9C87BB contains red, green and blue colors in about the same proportion. Web safe color of #9C87BB is #9999CC (or #99C).
#9C87BB color RGB value is (156,135,187).
RGB: (156,135,187) (61%,53%,73%)
R 156 of 255 = 61%
G 135 of 255 = 53%
B 187 of 255 = 73%
R + G + B ~ 62%. #9C87BB is quite light color.
R + G + B =
156 + 135 + 187 = 478 (100%)
R 156 of 478 ~ 32.64%
G 135 of 478 ~ 28.24%
B 187 of 478 ~ 39.12%
#9C87BB color CMYK value is (17,28,0,27).
CMYK: (17,28,0,27) C17M28Y0K27 (17%,28%,0%,27%) (0.17/0.28/0.00/0.27)
9C | 87 | BB | |
---|---|---|---|
RGB | 156 | 135 | 187 |
HSL | 264° | 27.66% | 63.14% |
HSB/HSV | 264° | 27.81% | 73.33% |
CMYK | 16.58% | 27.81% | 0.00% |
26.67% |
HEX | 9C | 87 | BB |
Decimal | 156 | 135 | 187 |
Binary | 10011100 | 10000111 | 10111011 |
Octal | 234 | 207 | 273 |
Examples of css and html codes for elements with #9C87BB color. Also use rgb(156,135,187) instead hex code.
.myTextColor { color: #9C87BB; }
<p style="color:#9C87BB">This sample text font color is #9C87BB.</p>
This text font color is #9C87BB.
.myBgColor { background-color: #9C87BB; }
<div style="background-color:#9C87BB">Inner text</div>
This div background color is #9C87BB.
.myBorderColor { border: 1px solid #9C87BB; }
<div style="border:3px solid #9C87BB">Div</div>
This div border color is #9C87BB.
.myOpacity80 { color: #9C87BB; opacity: 0.8; }
<p style="color:#9C87BB;opacity:0.8;">80%</p>
Text with #9C87BB color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #9C87BB;}
<p style="text-shadow: 3px 3px 1px #9C87BB">Text here.</p>
This text has shadow with #9C87BB color.
.textShadow {text-shadow: 3px 3px 1px #9C87BB, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #9C87BB, 5px 5px 20px red">Text here.</p>
This text has shadow with #9C87BB primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#9C87BB, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#9C87BB, Direction=45, Strength=4)">Text</p>
This text has shadow with #9C87BB and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #9C87BB; -webkit-box-shadow: 1px 1px 3px 2px #9C87BB; box-shadow: 1px 1px 3px 2px #9C87BB; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #9C87BB; -webkit-box-shadow: 1px 1px 3px 2px #9C87BB; box-shadow:1px 1px 3px 2px #9C87BB;">
Div content here</div>
This text has color #9C87BB on black background.
This text has color #9C87BB on white background.
This text has black color on #9C87BB background.
This text has white color on #9C87BB background.