HEX: #B2A040
RGB: (178,160,64)
#B2A040 contains mainly red and green colors. Web safe color of #B2A040 is #999933 (or #993).
#B2A040 color RGB value is (178,160,64).
RGB: (178,160,64) (70%,63%,25%)
R 178 of 255 = 70%
G 160 of 255 = 63%
B 64 of 255 = 25%
R + G + B ~ 53%. #B2A040 is middle color (not dark and not light).
R + G + B =
178 + 160 + 64 = 402 (100%)
R 178 of 402 ~ 44.28%
G 160 of 402 ~ 39.8%
B 64 of 402 ~ 15.92%
#B2A040 color CMYK value is (0,10,64,30).
CMYK: (0,10,64,30) C0M10Y64K30 (0%,10%,64%,30%) (0.00/0.10/0.64/0.30)
B2 | A0 | 40 | |
---|---|---|---|
RGB | 178 | 160 | 64 |
HSL | 51° | 47.11% | 47.45% |
HSB/HSV | 51° | 64.04% | 69.80% |
CMYK | 0.00% | 10.11% | 64.04% |
30.20% |
HEX | B2 | A0 | 40 |
Decimal | 178 | 160 | 64 |
Binary | 10110010 | 10100000 | 1000000 |
Octal | 262 | 240 | 100 |
Examples of css and html codes for elements with #B2A040 color. Also use rgb(178,160,64) instead hex code.
.myTextColor { color: #B2A040; }
<p style="color:#B2A040">This sample text font color is #B2A040.</p>
This text font color is #B2A040.
.myBgColor { background-color: #B2A040; }
<div style="background-color:#B2A040">Inner text</div>
This div background color is #B2A040.
.myBorderColor { border: 1px solid #B2A040; }
<div style="border:3px solid #B2A040">Div</div>
This div border color is #B2A040.
.myOpacity80 { color: #B2A040; opacity: 0.8; }
<p style="color:#B2A040;opacity:0.8;">80%</p>
Text with #B2A040 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2A040;}
<p style="text-shadow: 3px 3px 1px #B2A040">Text here.</p>
This text has shadow with #B2A040 color.
.textShadow {text-shadow: 3px 3px 1px #B2A040, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2A040, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2A040 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2A040, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2A040, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2A040 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2A040; -webkit-box-shadow: 1px 1px 3px 2px #B2A040; box-shadow: 1px 1px 3px 2px #B2A040; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2A040; -webkit-box-shadow: 1px 1px 3px 2px #B2A040; box-shadow:1px 1px 3px 2px #B2A040;">
Div content here</div>
This text has color #B2A040 on black background.
This text has color #B2A040 on white background.
This text has black color on #B2A040 background.
This text has white color on #B2A040 background.