HEX: #B4A009
RGB: (180,160,9)
#B4A009 contains mainly red and green colors. Web safe color of #B4A009 is #CC9900 (or #C90).
#B4A009 color RGB value is (180,160,9).
RGB: (180,160,9) (71%,63%,4%)
R 180 of 255 = 71%
G 160 of 255 = 63%
B 9 of 255 = 4%
R + G + B ~ 46%. #B4A009 is middle color (not dark and not light).
R + G + B =
180 + 160 + 9 = 349 (100%)
R 180 of 349 ~ 51.58%
G 160 of 349 ~ 45.85%
B 9 of 349 ~ 2.58%
#B4A009 color CMYK value is (0,11,95,29).
CMYK: (0,11,95,29) C0M11Y95K29 (0%,11%,95%,29%) (0.00/0.11/0.95/0.29)
B4 | A0 | 09 | |
---|---|---|---|
RGB | 180 | 160 | 9 |
HSL | 53° | 90.48% | 37.06% |
HSB/HSV | 53° | 95.00% | 70.59% |
CMYK | 0.00% | 11.11% | 95.00% |
29.41% |
HEX | B4 | A0 | 09 |
Decimal | 180 | 160 | 9 |
Binary | 10110100 | 10100000 | 1001 |
Octal | 264 | 240 | 11 |
Examples of css and html codes for elements with #B4A009 color. Also use rgb(180,160,9) instead hex code.
.myTextColor { color: #B4A009; }
<p style="color:#B4A009">This sample text font color is #B4A009.</p>
This text font color is #B4A009.
.myBgColor { background-color: #B4A009; }
<div style="background-color:#B4A009">Inner text</div>
This div background color is #B4A009.
.myBorderColor { border: 1px solid #B4A009; }
<div style="border:3px solid #B4A009">Div</div>
This div border color is #B4A009.
.myOpacity80 { color: #B4A009; opacity: 0.8; }
<p style="color:#B4A009;opacity:0.8;">80%</p>
Text with #B4A009 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4A009;}
<p style="text-shadow: 3px 3px 1px #B4A009">Text here.</p>
This text has shadow with #B4A009 color.
.textShadow {text-shadow: 3px 3px 1px #B4A009, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4A009, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4A009 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4A009, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4A009, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4A009 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4A009; -webkit-box-shadow: 1px 1px 3px 2px #B4A009; box-shadow: 1px 1px 3px 2px #B4A009; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4A009; -webkit-box-shadow: 1px 1px 3px 2px #B4A009; box-shadow:1px 1px 3px 2px #B4A009;">
Div content here</div>
This text has color #B4A009 on black background.
This text has color #B4A009 on white background.
This text has black color on #B4A009 background.
This text has white color on #B4A009 background.