HEX: #BD9CD6
RGB: (189,156,214)
#BD9CD6 contains red, green and blue colors in about the same proportion. Web safe color of #BD9CD6 is #CC99CC (or #C9C).
#BD9CD6 color RGB value is (189,156,214).
RGB: (189,156,214) (74%,61%,84%)
R 189 of 255 = 74%
G 156 of 255 = 61%
B 214 of 255 = 84%
R + G + B ~ 73%. #BD9CD6 is quite light color.
R + G + B =
189 + 156 + 214 = 559 (100%)
R 189 of 559 ~ 33.81%
G 156 of 559 ~ 27.91%
B 214 of 559 ~ 38.28%
#BD9CD6 color CMYK value is (12,27,0,16).
CMYK: (12,27,0,16) C12M27Y0K16 (12%,27%,0%,16%) (0.12/0.27/0.00/0.16)
BD | 9C | D6 | |
---|---|---|---|
RGB | 189 | 156 | 214 |
HSL | 274° | 41.43% | 72.55% |
HSB/HSV | 274° | 27.10% | 83.92% |
CMYK | 11.68% | 27.10% | 0.00% |
16.08% |
HEX | BD | 9C | D6 |
Decimal | 189 | 156 | 214 |
Binary | 10111101 | 10011100 | 11010110 |
Octal | 275 | 234 | 326 |
Examples of css and html codes for elements with #BD9CD6 color. Also use rgb(189,156,214) instead hex code.
.myTextColor { color: #BD9CD6; }
<p style="color:#BD9CD6">This sample text font color is #BD9CD6.</p>
This text font color is #BD9CD6.
.myBgColor { background-color: #BD9CD6; }
<div style="background-color:#BD9CD6">Inner text</div>
This div background color is #BD9CD6.
.myBorderColor { border: 1px solid #BD9CD6; }
<div style="border:3px solid #BD9CD6">Div</div>
This div border color is #BD9CD6.
.myOpacity80 { color: #BD9CD6; opacity: 0.8; }
<p style="color:#BD9CD6;opacity:0.8;">80%</p>
Text with #BD9CD6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD9CD6;}
<p style="text-shadow: 3px 3px 1px #BD9CD6">Text here.</p>
This text has shadow with #BD9CD6 color.
.textShadow {text-shadow: 3px 3px 1px #BD9CD6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD9CD6, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD9CD6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD9CD6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD9CD6, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD9CD6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD9CD6; -webkit-box-shadow: 1px 1px 3px 2px #BD9CD6; box-shadow: 1px 1px 3px 2px #BD9CD6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD9CD6; -webkit-box-shadow: 1px 1px 3px 2px #BD9CD6; box-shadow:1px 1px 3px 2px #BD9CD6;">
Div content here</div>
This text has color #BD9CD6 on black background.
This text has color #BD9CD6 on white background.
This text has black color on #BD9CD6 background.
This text has white color on #BD9CD6 background.