HEX: #BD9520
RGB: (189,149,32)
#BD9520 contains mainly red and green colors. Web safe color of #BD9520 is #CC9933 (or #C93).
#BD9520 color RGB value is (189,149,32).
RGB: (189,149,32) (74%,58%,13%)
R 189 of 255 = 74%
G 149 of 255 = 58%
B 32 of 255 = 13%
R + G + B ~ 48%. #BD9520 is middle color (not dark and not light).
R + G + B =
189 + 149 + 32 = 370 (100%)
R 189 of 370 ~ 51.08%
G 149 of 370 ~ 40.27%
B 32 of 370 ~ 8.65%
#BD9520 color CMYK value is (0,21,83,26).
CMYK: (0,21,83,26) C0M21Y83K26 (0%,21%,83%,26%) (0.00/0.21/0.83/0.26)
BD | 95 | 20 | |
---|---|---|---|
RGB | 189 | 149 | 32 |
HSL | 45° | 71.04% | 43.33% |
HSB/HSV | 45° | 83.07% | 74.12% |
CMYK | 0.00% | 21.16% | 83.07% |
25.88% |
HEX | BD | 95 | 20 |
Decimal | 189 | 149 | 32 |
Binary | 10111101 | 10010101 | 100000 |
Octal | 275 | 225 | 40 |
Examples of css and html codes for elements with #BD9520 color. Also use rgb(189,149,32) instead hex code.
.myTextColor { color: #BD9520; }
<p style="color:#BD9520">This sample text font color is #BD9520.</p>
This text font color is #BD9520.
.myBgColor { background-color: #BD9520; }
<div style="background-color:#BD9520">Inner text</div>
This div background color is #BD9520.
.myBorderColor { border: 1px solid #BD9520; }
<div style="border:3px solid #BD9520">Div</div>
This div border color is #BD9520.
.myOpacity80 { color: #BD9520; opacity: 0.8; }
<p style="color:#BD9520;opacity:0.8;">80%</p>
Text with #BD9520 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD9520;}
<p style="text-shadow: 3px 3px 1px #BD9520">Text here.</p>
This text has shadow with #BD9520 color.
.textShadow {text-shadow: 3px 3px 1px #BD9520, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD9520, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD9520 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD9520, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD9520, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD9520 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD9520; -webkit-box-shadow: 1px 1px 3px 2px #BD9520; box-shadow: 1px 1px 3px 2px #BD9520; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD9520; -webkit-box-shadow: 1px 1px 3px 2px #BD9520; box-shadow:1px 1px 3px 2px #BD9520;">
Div content here</div>
This text has color #BD9520 on black background.
This text has color #BD9520 on white background.
This text has black color on #BD9520 background.
This text has white color on #BD9520 background.