HEX: #BDB525
RGB: (189,181,37)
#BDB525 contains mainly red and green colors. Web safe color of #BDB525 is #CCCC33 (or #CC3).
#BDB525 color RGB value is (189,181,37).
RGB: (189,181,37) (74%,71%,15%)
R 189 of 255 = 74%
G 181 of 255 = 71%
B 37 of 255 = 15%
R + G + B ~ 53%. #BDB525 is middle color (not dark and not light).
R + G + B =
189 + 181 + 37 = 407 (100%)
R 189 of 407 ~ 46.44%
G 181 of 407 ~ 44.47%
B 37 of 407 ~ 9.09%
#BDB525 color CMYK value is (0,4,80,26).
CMYK: (0,4,80,26) C0M4Y80K26 (0%,4%,80%,26%) (0.00/0.04/0.80/0.26)
BD | B5 | 25 | |
---|---|---|---|
RGB | 189 | 181 | 37 |
HSL | 57° | 67.26% | 44.31% |
HSB/HSV | 57° | 80.42% | 74.12% |
CMYK | 0.00% | 4.23% | 80.42% |
25.88% |
HEX | BD | B5 | 25 |
Decimal | 189 | 181 | 37 |
Binary | 10111101 | 10110101 | 100101 |
Octal | 275 | 265 | 45 |
Examples of css and html codes for elements with #BDB525 color. Also use rgb(189,181,37) instead hex code.
.myTextColor { color: #BDB525; }
<p style="color:#BDB525">This sample text font color is #BDB525.</p>
This text font color is #BDB525.
.myBgColor { background-color: #BDB525; }
<div style="background-color:#BDB525">Inner text</div>
This div background color is #BDB525.
.myBorderColor { border: 1px solid #BDB525; }
<div style="border:3px solid #BDB525">Div</div>
This div border color is #BDB525.
.myOpacity80 { color: #BDB525; opacity: 0.8; }
<p style="color:#BDB525;opacity:0.8;">80%</p>
Text with #BDB525 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BDB525;}
<p style="text-shadow: 3px 3px 1px #BDB525">Text here.</p>
This text has shadow with #BDB525 color.
.textShadow {text-shadow: 3px 3px 1px #BDB525, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BDB525, 5px 5px 20px red">Text here.</p>
This text has shadow with #BDB525 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BDB525, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BDB525, Direction=45, Strength=4)">Text</p>
This text has shadow with #BDB525 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BDB525; -webkit-box-shadow: 1px 1px 3px 2px #BDB525; box-shadow: 1px 1px 3px 2px #BDB525; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BDB525; -webkit-box-shadow: 1px 1px 3px 2px #BDB525; box-shadow:1px 1px 3px 2px #BDB525;">
Div content here</div>
This text has color #BDB525 on black background.
This text has color #BDB525 on white background.
This text has black color on #BDB525 background.
This text has white color on #BDB525 background.