HEX: #BD8ADD
RGB: (189,138,221)
#BD8ADD contains mainly red and blue colors. Web safe color of #BD8ADD is #CC99CC (or #C9C).
#BD8ADD color RGB value is (189,138,221).
RGB: (189,138,221) (74%,54%,87%)
R 189 of 255 = 74%
G 138 of 255 = 54%
B 221 of 255 = 87%
R + G + B ~ 72%. #BD8ADD is quite light color.
R + G + B =
189 + 138 + 221 = 548 (100%)
R 189 of 548 ~ 34.49%
G 138 of 548 ~ 25.18%
B 221 of 548 ~ 40.33%
#BD8ADD color CMYK value is (14,38,0,13).
CMYK: (14,38,0,13) C14M38Y0K13 (14%,38%,0%,13%) (0.14/0.38/0.00/0.13)
BD | 8A | DD | |
---|---|---|---|
RGB | 189 | 138 | 221 |
HSL | 277° | 54.97% | 70.39% |
HSB/HSV | 277° | 37.56% | 86.67% |
CMYK | 14.48% | 37.56% | 0.00% |
13.33% |
HEX | BD | 8A | DD |
Decimal | 189 | 138 | 221 |
Binary | 10111101 | 10001010 | 11011101 |
Octal | 275 | 212 | 335 |
Examples of css and html codes for elements with #BD8ADD color. Also use rgb(189,138,221) instead hex code.
.myTextColor { color: #BD8ADD; }
<p style="color:#BD8ADD">This sample text font color is #BD8ADD.</p>
This text font color is #BD8ADD.
.myBgColor { background-color: #BD8ADD; }
<div style="background-color:#BD8ADD">Inner text</div>
This div background color is #BD8ADD.
.myBorderColor { border: 1px solid #BD8ADD; }
<div style="border:3px solid #BD8ADD">Div</div>
This div border color is #BD8ADD.
.myOpacity80 { color: #BD8ADD; opacity: 0.8; }
<p style="color:#BD8ADD;opacity:0.8;">80%</p>
Text with #BD8ADD color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD8ADD;}
<p style="text-shadow: 3px 3px 1px #BD8ADD">Text here.</p>
This text has shadow with #BD8ADD color.
.textShadow {text-shadow: 3px 3px 1px #BD8ADD, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD8ADD, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD8ADD primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD8ADD, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD8ADD, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD8ADD and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD8ADD; -webkit-box-shadow: 1px 1px 3px 2px #BD8ADD; box-shadow: 1px 1px 3px 2px #BD8ADD; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD8ADD; -webkit-box-shadow: 1px 1px 3px 2px #BD8ADD; box-shadow:1px 1px 3px 2px #BD8ADD;">
Div content here</div>
This text has color #BD8ADD on black background.
This text has color #BD8ADD on white background.
This text has black color on #BD8ADD background.
This text has white color on #BD8ADD background.