HEX: #BAA702
RGB: (186,167,2)
#BAA702 contains mainly red and green colors. Web safe color of #BAA702 is #CC9900 (or #C90).
#BAA702 color RGB value is (186,167,2).
RGB: (186,167,2) (73%,65%,1%)
R 186 of 255 = 73%
G 167 of 255 = 65%
B 2 of 255 = 1%
R + G + B ~ 46%. #BAA702 is middle color (not dark and not light).
R + G + B =
186 + 167 + 2 = 355 (100%)
R 186 of 355 ~ 52.39%
G 167 of 355 ~ 47.04%
B 2 of 355 ~ 0.56%
#BAA702 color CMYK value is (0,10,99,27).
CMYK: (0,10,99,27) C0M10Y99K27 (0%,10%,99%,27%) (0.00/0.10/0.99/0.27)
BA | A7 | 02 | |
---|---|---|---|
RGB | 186 | 167 | 2 |
HSL | 54° | 97.87% | 36.86% |
HSB/HSV | 54° | 98.92% | 72.94% |
CMYK | 0.00% | 10.22% | 98.92% |
27.06% |
HEX | BA | A7 | 02 |
Decimal | 186 | 167 | 2 |
Binary | 10111010 | 10100111 | 10 |
Octal | 272 | 247 | 2 |
Examples of css and html codes for elements with #BAA702 color. Also use rgb(186,167,2) instead hex code.
.myTextColor { color: #BAA702; }
<p style="color:#BAA702">This sample text font color is #BAA702.</p>
This text font color is #BAA702.
.myBgColor { background-color: #BAA702; }
<div style="background-color:#BAA702">Inner text</div>
This div background color is #BAA702.
.myBorderColor { border: 1px solid #BAA702; }
<div style="border:3px solid #BAA702">Div</div>
This div border color is #BAA702.
.myOpacity80 { color: #BAA702; opacity: 0.8; }
<p style="color:#BAA702;opacity:0.8;">80%</p>
Text with #BAA702 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAA702;}
<p style="text-shadow: 3px 3px 1px #BAA702">Text here.</p>
This text has shadow with #BAA702 color.
.textShadow {text-shadow: 3px 3px 1px #BAA702, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAA702, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAA702 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAA702, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAA702, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAA702 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAA702; -webkit-box-shadow: 1px 1px 3px 2px #BAA702; box-shadow: 1px 1px 3px 2px #BAA702; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAA702; -webkit-box-shadow: 1px 1px 3px 2px #BAA702; box-shadow:1px 1px 3px 2px #BAA702;">
Div content here</div>
This text has color #BAA702 on black background.
This text has color #BAA702 on white background.
This text has black color on #BAA702 background.
This text has white color on #BAA702 background.