HEX: #B9A512
RGB: (185,165,18)
#B9A512 contains mainly red and green colors. Web safe color of #B9A512 is #CC9900 (or #C90).
#B9A512 color RGB value is (185,165,18).
RGB: (185,165,18)
(73%, 65%, 7%)
R 185 of 255 = 73%
G 165 of 255 = 65%
B 18 of 255 = 7%
R + G + B ~ 48%. #B9A512 is middle color (not dark and not light).
R + G + B = 185 + 165 + 18 = 368 (100%)
R 185 of 368 ~ 50.27%
G 165 of 368 ~ 44.84%
B 18 of 368 ~ 4.89'%
#B9A512 color CMYK value is (0,11,90,27).
CMYK: (0,11,90,27)
C0M11Y90K27 (0%, 11%, 90%, 27%)
(0.00 / 0.11 / 0.90 / 0.27)
Color #B9A512 in popluar color models
B9 | A5 | 12 | |
---|---|---|---|
RGB | 185 | 165 | 18 |
HSL | 53° | 82.27% | 39.80% |
HSB/HSV | 53° | 90.27% | 72.55% |
CMYK | 0.00% | 10.81% | 90.27% |
27.45% |
Color #B9A512 in popluar number systems.
HEX | B9 | A5 | 12 |
Decimal | 185 | 165 | 18 |
Binary | 10111001 | 10100101 | 10010 |
Octal | 271 | 245 | 22 |
Shades of #B9A512
Tints of #B9A512
Examples of css and html codes for elements with #B9A512 color. Also use rgb(185,165,18) instead hex code.
.myTextColor { color: #B9A512; }
<p style="color:#B9A512">This sample text font color is #B9A512.</p>
This text font color is #B9A512.
.myBgColor { background-color: #B9A512; }
<div style="background-color:#B9A512">Inner text</div>
This div background color is #B9A512.
.myBorderColor { border: 1px solid #B9A512; }
<div style="border:3px solid #B9A512">Div</div>
This div border color is #B9A512.
.myOpacity80 { color: #B9A512; opacity: 0.8; }
<p style="color:#B9A512;opacity:0.8;">80%</p>
Text with #B9A512 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9A512;}
<p style="text-shadow: 3px 3px 1px #B9A512">Text here.</p>
This text has shadow with #B9A512 color.
.textShadow {text-shadow: 3px 3px 1px #B9A512', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9A512, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9A512 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9A512, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9A512, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9A512 and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #B9A512;
-webkit-box-shadow: 1px 1px 3px 2px #B9A512;
box-shadow: 1px 1px 3px 2px #B9A512;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #B9A512; -webkit-box-shadow: 1px 1px 3px 2px #B9A512; box-shadow:1px 1px 3px 2px #B9A512;">
Div content here
</div>
This text has color #B9A512 on black background.
This text has color #B9A512 on white background.
This text has black color on #B9A512 background.
This text has white color on #B9A512 background.
Complementary color for #hex is #465AED.