HEX: #BA880C
RGB: (186,136,12)
#BA880C contains mainly red and green colors. Web safe color of #BA880C is #CC9900 (or #C90).
#BA880C color RGB value is (186,136,12).
RGB: (186,136,12) (73%,53%,5%)
R 186 of 255 = 73%
G 136 of 255 = 53%
B 12 of 255 = 5%
R + G + B ~ 44%. #BA880C is middle color (not dark and not light).
R + G + B =
186 + 136 + 12 = 334 (100%)
R 186 of 334 ~ 55.69%
G 136 of 334 ~ 40.72%
B 12 of 334 ~ 3.59%
#BA880C color CMYK value is (0,27,94,27).
CMYK: (0,27,94,27) C0M27Y94K27 (0%,27%,94%,27%) (0.00/0.27/0.94/0.27)
BA | 88 | 0C | |
---|---|---|---|
RGB | 186 | 136 | 12 |
HSL | 43° | 87.88% | 38.82% |
HSB/HSV | 43° | 93.55% | 72.94% |
CMYK | 0.00% | 26.88% | 93.55% |
27.06% |
HEX | BA | 88 | 0C |
Decimal | 186 | 136 | 12 |
Binary | 10111010 | 10001000 | 1100 |
Octal | 272 | 210 | 14 |
Examples of css and html codes for elements with #BA880C color. Also use rgb(186,136,12) instead hex code.
.myTextColor { color: #BA880C; }
<p style="color:#BA880C">This sample text font color is #BA880C.</p>
This text font color is #BA880C.
.myBgColor { background-color: #BA880C; }
<div style="background-color:#BA880C">Inner text</div>
This div background color is #BA880C.
.myBorderColor { border: 1px solid #BA880C; }
<div style="border:3px solid #BA880C">Div</div>
This div border color is #BA880C.
.myOpacity80 { color: #BA880C; opacity: 0.8; }
<p style="color:#BA880C;opacity:0.8;">80%</p>
Text with #BA880C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA880C;}
<p style="text-shadow: 3px 3px 1px #BA880C">Text here.</p>
This text has shadow with #BA880C color.
.textShadow {text-shadow: 3px 3px 1px #BA880C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA880C, 5px 5px 20px red">Text here.</p>
This text has shadow with #BA880C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA880C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA880C, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA880C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA880C; -webkit-box-shadow: 1px 1px 3px 2px #BA880C; box-shadow: 1px 1px 3px 2px #BA880C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA880C; -webkit-box-shadow: 1px 1px 3px 2px #BA880C; box-shadow:1px 1px 3px 2px #BA880C;">
Div content here</div>
This text has color #BA880C on black background.
This text has color #BA880C on white background.
This text has black color on #BA880C background.
This text has white color on #BA880C background.