HEX: #B2AA20
RGB: (178,170,32)
#B2AA20 contains mainly red and green colors. Web safe color of #B2AA20 is #999933 (or #993).
#B2AA20 color RGB value is (178,170,32).
RGB: (178,170,32) (70%,67%,13%)
R 178 of 255 = 70%
G 170 of 255 = 67%
B 32 of 255 = 13%
R + G + B ~ 50%. #B2AA20 is middle color (not dark and not light).
R + G + B =
178 + 170 + 32 = 380 (100%)
R 178 of 380 ~ 46.84%
G 170 of 380 ~ 44.74%
B 32 of 380 ~ 8.42%
#B2AA20 color CMYK value is (0,4,82,30).
CMYK: (0,4,82,30) C0M4Y82K30 (0%,4%,82%,30%) (0.00/0.04/0.82/0.30)
B2 | AA | 20 | |
---|---|---|---|
RGB | 178 | 170 | 32 |
HSL | 57° | 69.52% | 41.18% |
HSB/HSV | 57° | 82.02% | 69.80% |
CMYK | 0.00% | 4.49% | 82.02% |
30.20% |
HEX | B2 | AA | 20 |
Decimal | 178 | 170 | 32 |
Binary | 10110010 | 10101010 | 100000 |
Octal | 262 | 252 | 40 |
Examples of css and html codes for elements with #B2AA20 color. Also use rgb(178,170,32) instead hex code.
.myTextColor { color: #B2AA20; }
<p style="color:#B2AA20">This sample text font color is #B2AA20.</p>
This text font color is #B2AA20.
.myBgColor { background-color: #B2AA20; }
<div style="background-color:#B2AA20">Inner text</div>
This div background color is #B2AA20.
.myBorderColor { border: 1px solid #B2AA20; }
<div style="border:3px solid #B2AA20">Div</div>
This div border color is #B2AA20.
.myOpacity80 { color: #B2AA20; opacity: 0.8; }
<p style="color:#B2AA20;opacity:0.8;">80%</p>
Text with #B2AA20 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B2AA20;}
<p style="text-shadow: 3px 3px 1px #B2AA20">Text here.</p>
This text has shadow with #B2AA20 color.
.textShadow {text-shadow: 3px 3px 1px #B2AA20, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B2AA20, 5px 5px 20px red">Text here.</p>
This text has shadow with #B2AA20 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B2AA20, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B2AA20, Direction=45, Strength=4)">Text</p>
This text has shadow with #B2AA20 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B2AA20; -webkit-box-shadow: 1px 1px 3px 2px #B2AA20; box-shadow: 1px 1px 3px 2px #B2AA20; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B2AA20; -webkit-box-shadow: 1px 1px 3px 2px #B2AA20; box-shadow:1px 1px 3px 2px #B2AA20;">
Div content here</div>
This text has color #B2AA20 on black background.
This text has color #B2AA20 on white background.
This text has black color on #B2AA20 background.
This text has white color on #B2AA20 background.