HEX: #BAA525
RGB: (186,165,37)
#BAA525 contains mainly red and green colors. Web safe color of #BAA525 is #CC9933 (or #C93).
#BAA525 color RGB value is (186,165,37).
RGB: (186,165,37) (73%,65%,15%)
R 186 of 255 = 73%
G 165 of 255 = 65%
B 37 of 255 = 15%
R + G + B ~ 51%. #BAA525 is middle color (not dark and not light).
R + G + B =
186 + 165 + 37 = 388 (100%)
R 186 of 388 ~ 47.94%
G 165 of 388 ~ 42.53%
B 37 of 388 ~ 9.54%
#BAA525 color CMYK value is (0,11,80,27).
CMYK: (0,11,80,27) C0M11Y80K27 (0%,11%,80%,27%) (0.00/0.11/0.80/0.27)
BA | A5 | 25 | |
---|---|---|---|
RGB | 186 | 165 | 37 |
HSL | 52° | 66.82% | 43.73% |
HSB/HSV | 52° | 80.11% | 72.94% |
CMYK | 0.00% | 11.29% | 80.11% |
27.06% |
HEX | BA | A5 | 25 |
Decimal | 186 | 165 | 37 |
Binary | 10111010 | 10100101 | 100101 |
Octal | 272 | 245 | 45 |
Examples of css and html codes for elements with #BAA525 color. Also use rgb(186,165,37) instead hex code.
.myTextColor { color: #BAA525; }
<p style="color:#BAA525">This sample text font color is #BAA525.</p>
This text font color is #BAA525.
.myBgColor { background-color: #BAA525; }
<div style="background-color:#BAA525">Inner text</div>
This div background color is #BAA525.
.myBorderColor { border: 1px solid #BAA525; }
<div style="border:3px solid #BAA525">Div</div>
This div border color is #BAA525.
.myOpacity80 { color: #BAA525; opacity: 0.8; }
<p style="color:#BAA525;opacity:0.8;">80%</p>
Text with #BAA525 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BAA525;}
<p style="text-shadow: 3px 3px 1px #BAA525">Text here.</p>
This text has shadow with #BAA525 color.
.textShadow {text-shadow: 3px 3px 1px #BAA525, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BAA525, 5px 5px 20px red">Text here.</p>
This text has shadow with #BAA525 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BAA525, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BAA525, Direction=45, Strength=4)">Text</p>
This text has shadow with #BAA525 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BAA525; -webkit-box-shadow: 1px 1px 3px 2px #BAA525; box-shadow: 1px 1px 3px 2px #BAA525; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BAA525; -webkit-box-shadow: 1px 1px 3px 2px #BAA525; box-shadow:1px 1px 3px 2px #BAA525;">
Div content here</div>
This text has color #BAA525 on black background.
This text has color #BAA525 on white background.
This text has black color on #BAA525 background.
This text has white color on #BAA525 background.