HEX: #BA8715
RGB: (186,135,21)
#BA8715 contains mainly red and green colors. Web safe color of #BA8715 is #CC9900 (or #C90).
#BA8715 color RGB value is (186,135,21).
RGB: (186,135,21) (73%,53%,8%)
R 186 of 255 = 73%
G 135 of 255 = 53%
B 21 of 255 = 8%
R + G + B ~ 45%. #BA8715 is middle color (not dark and not light).
R + G + B =
186 + 135 + 21 = 342 (100%)
R 186 of 342 ~ 54.39%
G 135 of 342 ~ 39.47%
B 21 of 342 ~ 6.14%
#BA8715 color CMYK value is (0,27,89,27).
CMYK: (0,27,89,27) C0M27Y89K27 (0%,27%,89%,27%) (0.00/0.27/0.89/0.27)
BA | 87 | 15 | |
---|---|---|---|
RGB | 186 | 135 | 21 |
HSL | 41° | 79.71% | 40.59% |
HSB/HSV | 41° | 88.71% | 72.94% |
CMYK | 0.00% | 27.42% | 88.71% |
27.06% |
HEX | BA | 87 | 15 |
Decimal | 186 | 135 | 21 |
Binary | 10111010 | 10000111 | 10101 |
Octal | 272 | 207 | 25 |
Examples of css and html codes for elements with #BA8715 color. Also use rgb(186,135,21) instead hex code.
.myTextColor { color: #BA8715; }
<p style="color:#BA8715">This sample text font color is #BA8715.</p>
This text font color is #BA8715.
.myBgColor { background-color: #BA8715; }
<div style="background-color:#BA8715">Inner text</div>
This div background color is #BA8715.
.myBorderColor { border: 1px solid #BA8715; }
<div style="border:3px solid #BA8715">Div</div>
This div border color is #BA8715.
.myOpacity80 { color: #BA8715; opacity: 0.8; }
<p style="color:#BA8715;opacity:0.8;">80%</p>
Text with #BA8715 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA8715;}
<p style="text-shadow: 3px 3px 1px #BA8715">Text here.</p>
This text has shadow with #BA8715 color.
.textShadow {text-shadow: 3px 3px 1px #BA8715, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA8715, 5px 5px 20px red">Text here.</p>
This text has shadow with #BA8715 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA8715, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA8715, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA8715 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA8715; -webkit-box-shadow: 1px 1px 3px 2px #BA8715; box-shadow: 1px 1px 3px 2px #BA8715; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA8715; -webkit-box-shadow: 1px 1px 3px 2px #BA8715; box-shadow:1px 1px 3px 2px #BA8715;">
Div content here</div>
This text has color #BA8715 on black background.
This text has color #BA8715 on white background.
This text has black color on #BA8715 background.
This text has white color on #BA8715 background.