HEX: #B9900A
RGB: (185,144,10)
#B9900A contains mainly red and green colors. Web safe color of #B9900A is #CC9900 (or #C90).
#B9900A color RGB value is (185,144,10).
RGB: (185,144,10) (73%,56%,4%)
R 185 of 255 = 73%
G 144 of 255 = 56%
B 10 of 255 = 4%
R + G + B ~ 44%. #B9900A is middle color (not dark and not light).
R + G + B =
185 + 144 + 10 = 339 (100%)
R 185 of 339 ~ 54.57%
G 144 of 339 ~ 42.48%
B 10 of 339 ~ 2.95%
#B9900A color CMYK value is (0,22,95,27).
CMYK: (0,22,95,27) C0M22Y95K27 (0%,22%,95%,27%) (0.00/0.22/0.95/0.27)
B9 | 90 | 0A | |
---|---|---|---|
RGB | 185 | 144 | 10 |
HSL | 46° | 89.74% | 38.24% |
HSB/HSV | 46° | 94.59% | 72.55% |
CMYK | 0.00% | 22.16% | 94.59% |
27.45% |
HEX | B9 | 90 | 0A |
Decimal | 185 | 144 | 10 |
Binary | 10111001 | 10010000 | 1010 |
Octal | 271 | 220 | 12 |
Examples of css and html codes for elements with #B9900A color. Also use rgb(185,144,10) instead hex code.
.myTextColor { color: #B9900A; }
<p style="color:#B9900A">This sample text font color is #B9900A.</p>
This text font color is #B9900A.
.myBgColor { background-color: #B9900A; }
<div style="background-color:#B9900A">Inner text</div>
This div background color is #B9900A.
.myBorderColor { border: 1px solid #B9900A; }
<div style="border:3px solid #B9900A">Div</div>
This div border color is #B9900A.
.myOpacity80 { color: #B9900A; opacity: 0.8; }
<p style="color:#B9900A;opacity:0.8;">80%</p>
Text with #B9900A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9900A;}
<p style="text-shadow: 3px 3px 1px #B9900A">Text here.</p>
This text has shadow with #B9900A color.
.textShadow {text-shadow: 3px 3px 1px #B9900A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9900A, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9900A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9900A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9900A, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9900A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9900A; -webkit-box-shadow: 1px 1px 3px 2px #B9900A; box-shadow: 1px 1px 3px 2px #B9900A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9900A; -webkit-box-shadow: 1px 1px 3px 2px #B9900A; box-shadow:1px 1px 3px 2px #B9900A;">
Div content here</div>
This text has color #B9900A on black background.
This text has color #B9900A on white background.
This text has black color on #B9900A background.
This text has white color on #B9900A background.