HEX: #BD96E6
RGB: (189,150,230)
#BD96E6 contains mainly red and blue colors. Web safe color of #BD96E6 is #CC99CC (or #C9C).
#BD96E6 color RGB value is (189,150,230).
RGB: (189,150,230) (74%,59%,90%)
R 189 of 255 = 74%
G 150 of 255 = 59%
B 230 of 255 = 90%
R + G + B ~ 74%. #BD96E6 is quite light color.
R + G + B =
189 + 150 + 230 = 569 (100%)
R 189 of 569 ~ 33.22%
G 150 of 569 ~ 26.36%
B 230 of 569 ~ 40.42%
#BD96E6 color CMYK value is (18,35,0,10).
CMYK: (18,35,0,10) C18M35Y0K10 (18%,35%,0%,10%) (0.18/0.35/0.00/0.10)
BD | 96 | E6 | |
---|---|---|---|
RGB | 189 | 150 | 230 |
HSL | 269° | 61.54% | 74.51% |
HSB/HSV | 269° | 34.78% | 90.20% |
CMYK | 17.83% | 34.78% | 0.00% |
9.80% |
HEX | BD | 96 | E6 |
Decimal | 189 | 150 | 230 |
Binary | 10111101 | 10010110 | 11100110 |
Octal | 275 | 226 | 346 |
Examples of css and html codes for elements with #BD96E6 color. Also use rgb(189,150,230) instead hex code.
.myTextColor { color: #BD96E6; }
<p style="color:#BD96E6">This sample text font color is #BD96E6.</p>
This text font color is #BD96E6.
.myBgColor { background-color: #BD96E6; }
<div style="background-color:#BD96E6">Inner text</div>
This div background color is #BD96E6.
.myBorderColor { border: 1px solid #BD96E6; }
<div style="border:3px solid #BD96E6">Div</div>
This div border color is #BD96E6.
.myOpacity80 { color: #BD96E6; opacity: 0.8; }
<p style="color:#BD96E6;opacity:0.8;">80%</p>
Text with #BD96E6 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD96E6;}
<p style="text-shadow: 3px 3px 1px #BD96E6">Text here.</p>
This text has shadow with #BD96E6 color.
.textShadow {text-shadow: 3px 3px 1px #BD96E6, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD96E6, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD96E6 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD96E6, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD96E6, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD96E6 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD96E6; -webkit-box-shadow: 1px 1px 3px 2px #BD96E6; box-shadow: 1px 1px 3px 2px #BD96E6; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD96E6; -webkit-box-shadow: 1px 1px 3px 2px #BD96E6; box-shadow:1px 1px 3px 2px #BD96E6;">
Div content here</div>
This text has color #BD96E6 on black background.
This text has color #BD96E6 on white background.
This text has black color on #BD96E6 background.
This text has white color on #BD96E6 background.