HEX: #BD5D8B
RGB: (189,93,139)
#BD5D8B contains mainly red and blue colors. Web safe color of #BD5D8B is #CC6699 (or #C69).
#BD5D8B color RGB value is (189,93,139).
RGB: (189,93,139) (74%,36%,55%)
R 189 of 255 = 74%
G 93 of 255 = 36%
B 139 of 255 = 55%
R + G + B ~ 55%. #BD5D8B is middle color (not dark and not light).
R + G + B =
189 + 93 + 139 = 421 (100%)
R 189 of 421 ~ 44.89%
G 93 of 421 ~ 22.09%
B 139 of 421 ~ 33.02%
#BD5D8B color CMYK value is (0,51,26,26).
CMYK: (0,51,26,26) C0M51Y26K26 (0%,51%,26%,26%) (0.00/0.51/0.26/0.26)
BD | 5D | 8B | |
---|---|---|---|
RGB | 189 | 93 | 139 |
HSL | 331° | 42.11% | 55.29% |
HSB/HSV | 331° | 50.79% | 74.12% |
CMYK | 0.00% | 50.79% | 26.46% |
25.88% |
HEX | BD | 5D | 8B |
Decimal | 189 | 93 | 139 |
Binary | 10111101 | 1011101 | 10001011 |
Octal | 275 | 135 | 213 |
Examples of css and html codes for elements with #BD5D8B color. Also use rgb(189,93,139) instead hex code.
.myTextColor { color: #BD5D8B; }
<p style="color:#BD5D8B">This sample text font color is #BD5D8B.</p>
This text font color is #BD5D8B.
.myBgColor { background-color: #BD5D8B; }
<div style="background-color:#BD5D8B">Inner text</div>
This div background color is #BD5D8B.
.myBorderColor { border: 1px solid #BD5D8B; }
<div style="border:3px solid #BD5D8B">Div</div>
This div border color is #BD5D8B.
.myOpacity80 { color: #BD5D8B; opacity: 0.8; }
<p style="color:#BD5D8B;opacity:0.8;">80%</p>
Text with #BD5D8B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD5D8B;}
<p style="text-shadow: 3px 3px 1px #BD5D8B">Text here.</p>
This text has shadow with #BD5D8B color.
.textShadow {text-shadow: 3px 3px 1px #BD5D8B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD5D8B, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD5D8B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD5D8B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD5D8B, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD5D8B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD5D8B; -webkit-box-shadow: 1px 1px 3px 2px #BD5D8B; box-shadow: 1px 1px 3px 2px #BD5D8B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD5D8B; -webkit-box-shadow: 1px 1px 3px 2px #BD5D8B; box-shadow:1px 1px 3px 2px #BD5D8B;">
Div content here</div>
This text has color #BD5D8B on black background.
This text has color #BD5D8B on white background.
This text has black color on #BD5D8B background.
This text has white color on #BD5D8B background.