HEX: #BA522E
RGB: (186,82,46)
#BA522E contains mainly red color. Web safe color of #BA522E is #CC6633 (or #C63).
#BA522E color RGB value is (186,82,46).
RGB: (186,82,46) (73%,32%,18%)
R 186 of 255 = 73%
G 82 of 255 = 32%
B 46 of 255 = 18%
R + G + B ~ 41%. #BA522E is middle color (not dark and not light).
R + G + B =
186 + 82 + 46 = 314 (100%)
R 186 of 314 ~ 59.24%
G 82 of 314 ~ 26.11%
B 46 of 314 ~ 14.65%
#BA522E color CMYK value is (0,56,75,27).
CMYK: (0,56,75,27) C0M56Y75K27 (0%,56%,75%,27%) (0.00/0.56/0.75/0.27)
BA | 52 | 2E | |
---|---|---|---|
RGB | 186 | 82 | 46 |
HSL | 15° | 60.34% | 45.49% |
HSB/HSV | 15° | 75.27% | 72.94% |
CMYK | 0.00% | 55.91% | 75.27% |
27.06% |
HEX | BA | 52 | 2E |
Decimal | 186 | 82 | 46 |
Binary | 10111010 | 1010010 | 101110 |
Octal | 272 | 122 | 56 |
Examples of css and html codes for elements with #BA522E color. Also use rgb(186,82,46) instead hex code.
.myTextColor { color: #BA522E; }
<p style="color:#BA522E">This sample text font color is #BA522E.</p>
This text font color is #BA522E.
.myBgColor { background-color: #BA522E; }
<div style="background-color:#BA522E">Inner text</div>
This div background color is #BA522E.
.myBorderColor { border: 1px solid #BA522E; }
<div style="border:3px solid #BA522E">Div</div>
This div border color is #BA522E.
.myOpacity80 { color: #BA522E; opacity: 0.8; }
<p style="color:#BA522E;opacity:0.8;">80%</p>
Text with #BA522E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #BA522E;}
<p style="text-shadow: 3px 3px 1px #BA522E">Text here.</p>
This text has shadow with #BA522E color.
.textShadow {text-shadow: 3px 3px 1px #BA522E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #BA522E, 5px 5px 20px red">Text here.</p>
This text has shadow with #BA522E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#BA522E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#BA522E, Direction=45, Strength=4)">Text</p>
This text has shadow with #BA522E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #BA522E; -webkit-box-shadow: 1px 1px 3px 2px #BA522E; box-shadow: 1px 1px 3px 2px #BA522E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #BA522E; -webkit-box-shadow: 1px 1px 3px 2px #BA522E; box-shadow:1px 1px 3px 2px #BA522E;">
Div content here</div>
This text has color #BA522E on black background.
This text has color #BA522E on white background.
This text has black color on #BA522E background.
This text has white color on #BA522E background.