HEX: #BD9E2B
RGB: (189,158,43)
#BD9E2B contains mainly red and green colors. Web safe color of #BD9E2B is #CC9933 (or #C93).
#BD9E2B color RGB value is (189,158,43).
RGB: (189,158,43) (74%,62%,17%)
R 189 of 255 = 74%
G 158 of 255 = 62%
B 43 of 255 = 17%
R + G + B ~ 51%. #BD9E2B is middle color (not dark and not light).
R + G + B =
189 + 158 + 43 = 390 (100%)
R 189 of 390 ~ 48.46%
G 158 of 390 ~ 40.51%
B 43 of 390 ~ 11.03%
#BD9E2B color CMYK value is (0,16,77,26).
CMYK: (0,16,77,26) C0M16Y77K26 (0%,16%,77%,26%) (0.00/0.16/0.77/0.26)
BD | 9E | 2B | |
---|---|---|---|
RGB | 189 | 158 | 43 |
HSL | 47° | 62.93% | 45.49% |
HSB/HSV | 47° | 77.25% | 74.12% |
CMYK | 0.00% | 16.40% | 77.25% |
25.88% |
HEX | BD | 9E | 2B |
Decimal | 189 | 158 | 43 |
Binary | 10111101 | 10011110 | 101011 |
Octal | 275 | 236 | 53 |
Examples of css and html codes for elements with #BD9E2B color. Also use rgb(189,158,43) instead hex code.
.myTextColor { color: #BD9E2B; }
<p style="color:#BD9E2B">This sample text font color is #BD9E2B.</p>
This text font color is #BD9E2B.
.myBgColor { background-color: #BD9E2B; }
<div style="background-color:#BD9E2B">Inner text</div>
This div background color is #BD9E2B.
.myBorderColor { border: 1px solid #BD9E2B; }
<div style="border:3px solid #BD9E2B">Div</div>
This div border color is #BD9E2B.
.myOpacity80 { color: #BD9E2B; opacity: 0.8; }
<p style="color:#BD9E2B;opacity:0.8;">80%</p>
Text with #BD9E2B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD9E2B;}
<p style="text-shadow: 3px 3px 1px #BD9E2B">Text here.</p>
This text has shadow with #BD9E2B color.
.textShadow {text-shadow: 3px 3px 1px #BD9E2B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD9E2B, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD9E2B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD9E2B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD9E2B, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD9E2B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD9E2B; -webkit-box-shadow: 1px 1px 3px 2px #BD9E2B; box-shadow: 1px 1px 3px 2px #BD9E2B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD9E2B; -webkit-box-shadow: 1px 1px 3px 2px #BD9E2B; box-shadow:1px 1px 3px 2px #BD9E2B;">
Div content here</div>
This text has color #BD9E2B on black background.
This text has color #BD9E2B on white background.
This text has black color on #BD9E2B background.
This text has white color on #BD9E2B background.