HEX: #BDB315
RGB: (189,179,21)
#BDB315 contains mainly red and green colors. Web safe color of #BDB315 is #CC9900 (or #C90).
#BDB315 color RGB value is (189,179,21).
RGB: (189,179,21) (74%,70%,8%)
R 189 of 255 = 74%
G 179 of 255 = 70%
B 21 of 255 = 8%
R + G + B ~ 51%. #BDB315 is middle color (not dark and not light).
R + G + B =
189 + 179 + 21 = 389 (100%)
R 189 of 389 ~ 48.59%
G 179 of 389 ~ 46.02%
B 21 of 389 ~ 5.4%
#BDB315 color CMYK value is (0,5,89,26).
CMYK: (0,5,89,26) C0M5Y89K26 (0%,5%,89%,26%) (0.00/0.05/0.89/0.26)
BD | B3 | 15 | |
---|---|---|---|
RGB | 189 | 179 | 21 |
HSL | 56° | 80.00% | 41.18% |
HSB/HSV | 56° | 88.89% | 74.12% |
CMYK | 0.00% | 5.29% | 88.89% |
25.88% |
HEX | BD | B3 | 15 |
Decimal | 189 | 179 | 21 |
Binary | 10111101 | 10110011 | 10101 |
Octal | 275 | 263 | 25 |
Examples of css and html codes for elements with #BDB315 color. Also use rgb(189,179,21) instead hex code.
.myTextColor { color: #BDB315; }
<p style="color:#BDB315">This sample text font color is #BDB315.</p>
This text font color is #BDB315.
.myBgColor { background-color: #BDB315; }
<div style="background-color:#BDB315">Inner text</div>
This div background color is #BDB315.
.myBorderColor { border: 1px solid #BDB315; }
<div style="border:3px solid #BDB315">Div</div>
This div border color is #BDB315.
.myOpacity80 { color: #BDB315; opacity: 0.8; }
<p style="color:#BDB315;opacity:0.8;">80%</p>
Text with #BDB315 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BDB315;}
<p style="text-shadow: 3px 3px 1px #BDB315">Text here.</p>
This text has shadow with #BDB315 color.
.textShadow {text-shadow: 3px 3px 1px #BDB315, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BDB315, 5px 5px 20px red">Text here.</p>
This text has shadow with #BDB315 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BDB315, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BDB315, Direction=45, Strength=4)">Text</p>
This text has shadow with #BDB315 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BDB315; -webkit-box-shadow: 1px 1px 3px 2px #BDB315; box-shadow: 1px 1px 3px 2px #BDB315; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BDB315; -webkit-box-shadow: 1px 1px 3px 2px #BDB315; box-shadow:1px 1px 3px 2px #BDB315;">
Div content here</div>
This text has color #BDB315 on black background.
This text has color #BDB315 on white background.
This text has black color on #BDB315 background.
This text has white color on #BDB315 background.