HEX: #B187CC
RGB: (177,135,204)
#B187CC contains mainly red and blue colors. Web safe color of #B187CC is #9999CC (or #99C).
#B187CC color RGB value is (177,135,204).
RGB: (177,135,204) (69%,53%,80%)
R 177 of 255 = 69%
G 135 of 255 = 53%
B 204 of 255 = 80%
R + G + B ~ 67%. #B187CC is quite light color.
R + G + B =
177 + 135 + 204 = 516 (100%)
R 177 of 516 ~ 34.3%
G 135 of 516 ~ 26.16%
B 204 of 516 ~ 39.53%
#B187CC color CMYK value is (13,34,0,20).
CMYK: (13,34,0,20) C13M34Y0K20 (13%,34%,0%,20%) (0.13/0.34/0.00/0.20)
B1 | 87 | CC | |
---|---|---|---|
RGB | 177 | 135 | 204 |
HSL | 277° | 40.35% | 66.47% |
HSB/HSV | 277° | 33.82% | 80.00% |
CMYK | 13.24% | 33.82% | 0.00% |
20.00% |
HEX | B1 | 87 | CC |
Decimal | 177 | 135 | 204 |
Binary | 10110001 | 10000111 | 11001100 |
Octal | 261 | 207 | 314 |
Examples of css and html codes for elements with #B187CC color. Also use rgb(177,135,204) instead hex code.
.myTextColor { color: #B187CC; }
<p style="color:#B187CC">This sample text font color is #B187CC.</p>
This text font color is #B187CC.
.myBgColor { background-color: #B187CC; }
<div style="background-color:#B187CC">Inner text</div>
This div background color is #B187CC.
.myBorderColor { border: 1px solid #B187CC; }
<div style="border:3px solid #B187CC">Div</div>
This div border color is #B187CC.
.myOpacity80 { color: #B187CC; opacity: 0.8; }
<p style="color:#B187CC;opacity:0.8;">80%</p>
Text with #B187CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B187CC;}
<p style="text-shadow: 3px 3px 1px #B187CC">Text here.</p>
This text has shadow with #B187CC color.
.textShadow {text-shadow: 3px 3px 1px #B187CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B187CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #B187CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B187CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B187CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #B187CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B187CC; -webkit-box-shadow: 1px 1px 3px 2px #B187CC; box-shadow: 1px 1px 3px 2px #B187CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B187CC; -webkit-box-shadow: 1px 1px 3px 2px #B187CC; box-shadow:1px 1px 3px 2px #B187CC;">
Div content here</div>
This text has color #B187CC on black background.
This text has color #B187CC on white background.
This text has black color on #B187CC background.
This text has white color on #B187CC background.