HEX: #BD87CC
RGB: (189,135,204)
#BD87CC contains mainly red and blue colors. Web safe color of #BD87CC is #CC99CC (or #C9C).
#BD87CC color RGB value is (189,135,204).
RGB: (189,135,204) (74%,53%,80%)
R 189 of 255 = 74%
G 135 of 255 = 53%
B 204 of 255 = 80%
R + G + B ~ 69%. #BD87CC is quite light color.
R + G + B =
189 + 135 + 204 = 528 (100%)
R 189 of 528 ~ 35.8%
G 135 of 528 ~ 25.57%
B 204 of 528 ~ 38.64%
#BD87CC color CMYK value is (7,34,0,20).
CMYK: (7,34,0,20) C7M34Y0K20 (7%,34%,0%,20%) (0.07/0.34/0.00/0.20)
BD | 87 | CC | |
---|---|---|---|
RGB | 189 | 135 | 204 |
HSL | 287° | 40.35% | 66.47% |
HSB/HSV | 287° | 33.82% | 80.00% |
CMYK | 7.35% | 33.82% | 0.00% |
20.00% |
HEX | BD | 87 | CC |
Decimal | 189 | 135 | 204 |
Binary | 10111101 | 10000111 | 11001100 |
Octal | 275 | 207 | 314 |
Examples of css and html codes for elements with #BD87CC color. Also use rgb(189,135,204) instead hex code.
.myTextColor { color: #BD87CC; }
<p style="color:#BD87CC">This sample text font color is #BD87CC.</p>
This text font color is #BD87CC.
.myBgColor { background-color: #BD87CC; }
<div style="background-color:#BD87CC">Inner text</div>
This div background color is #BD87CC.
.myBorderColor { border: 1px solid #BD87CC; }
<div style="border:3px solid #BD87CC">Div</div>
This div border color is #BD87CC.
.myOpacity80 { color: #BD87CC; opacity: 0.8; }
<p style="color:#BD87CC;opacity:0.8;">80%</p>
Text with #BD87CC color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD87CC;}
<p style="text-shadow: 3px 3px 1px #BD87CC">Text here.</p>
This text has shadow with #BD87CC color.
.textShadow {text-shadow: 3px 3px 1px #BD87CC, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD87CC, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD87CC primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD87CC, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD87CC, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD87CC and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD87CC; -webkit-box-shadow: 1px 1px 3px 2px #BD87CC; box-shadow: 1px 1px 3px 2px #BD87CC; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD87CC; -webkit-box-shadow: 1px 1px 3px 2px #BD87CC; box-shadow:1px 1px 3px 2px #BD87CC;">
Div content here</div>
This text has color #BD87CC on black background.
This text has color #BD87CC on white background.
This text has black color on #BD87CC background.
This text has white color on #BD87CC background.