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