HEX: #BD7B12
RGB: (189,123,18)
#BD7B12 contains mainly red color. Web safe color of #BD7B12 is #CC6600 (or #C60).
#BD7B12 color RGB value is (189,123,18).
RGB: (189,123,18) (74%,48%,7%)
R 189 of 255 = 74%
G 123 of 255 = 48%
B 18 of 255 = 7%
R + G + B ~ 43%. #BD7B12 is middle color (not dark and not light).
R + G + B =
189 + 123 + 18 = 330 (100%)
R 189 of 330 ~ 57.27%
G 123 of 330 ~ 37.27%
B 18 of 330 ~ 5.45%
#BD7B12 color CMYK value is (0,35,90,26).
CMYK: (0,35,90,26) C0M35Y90K26 (0%,35%,90%,26%) (0.00/0.35/0.90/0.26)
BD | 7B | 12 | |
---|---|---|---|
RGB | 189 | 123 | 18 |
HSL | 37° | 82.61% | 40.59% |
HSB/HSV | 37° | 90.48% | 74.12% |
CMYK | 0.00% | 34.92% | 90.48% |
25.88% |
HEX | BD | 7B | 12 |
Decimal | 189 | 123 | 18 |
Binary | 10111101 | 1111011 | 10010 |
Octal | 275 | 173 | 22 |
Examples of css and html codes for elements with #BD7B12 color. Also use rgb(189,123,18) instead hex code.
.myTextColor { color: #BD7B12; }
<p style="color:#BD7B12">This sample text font color is #BD7B12.</p>
This text font color is #BD7B12.
.myBgColor { background-color: #BD7B12; }
<div style="background-color:#BD7B12">Inner text</div>
This div background color is #BD7B12.
.myBorderColor { border: 1px solid #BD7B12; }
<div style="border:3px solid #BD7B12">Div</div>
This div border color is #BD7B12.
.myOpacity80 { color: #BD7B12; opacity: 0.8; }
<p style="color:#BD7B12;opacity:0.8;">80%</p>
Text with #BD7B12 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BD7B12;}
<p style="text-shadow: 3px 3px 1px #BD7B12">Text here.</p>
This text has shadow with #BD7B12 color.
.textShadow {text-shadow: 3px 3px 1px #BD7B12, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BD7B12, 5px 5px 20px red">Text here.</p>
This text has shadow with #BD7B12 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BD7B12, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BD7B12, Direction=45, Strength=4)">Text</p>
This text has shadow with #BD7B12 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BD7B12; -webkit-box-shadow: 1px 1px 3px 2px #BD7B12; box-shadow: 1px 1px 3px 2px #BD7B12; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BD7B12; -webkit-box-shadow: 1px 1px 3px 2px #BD7B12; box-shadow:1px 1px 3px 2px #BD7B12;">
Div content here</div>
This text has color #BD7B12 on black background.
This text has color #BD7B12 on white background.
This text has black color on #BD7B12 background.
This text has white color on #BD7B12 background.