HEX: #B98721
RGB: (185,135,33)
#B98721 contains mainly red and green colors. Web safe color of #B98721 is #CC9933 (or #C93).
#B98721 color RGB value is (185,135,33).
RGB: (185,135,33) (73%,53%,13%)
R 185 of 255 = 73%
G 135 of 255 = 53%
B 33 of 255 = 13%
R + G + B ~ 46%. #B98721 is middle color (not dark and not light).
R + G + B =
185 + 135 + 33 = 353 (100%)
R 185 of 353 ~ 52.41%
G 135 of 353 ~ 38.24%
B 33 of 353 ~ 9.35%
#B98721 color CMYK value is (0,27,82,27).
CMYK: (0,27,82,27) C0M27Y82K27 (0%,27%,82%,27%) (0.00/0.27/0.82/0.27)
B9 | 87 | 21 | |
---|---|---|---|
RGB | 185 | 135 | 33 |
HSL | 40° | 69.72% | 42.75% |
HSB/HSV | 40° | 82.16% | 72.55% |
CMYK | 0.00% | 27.03% | 82.16% |
27.45% |
HEX | B9 | 87 | 21 |
Decimal | 185 | 135 | 33 |
Binary | 10111001 | 10000111 | 100001 |
Octal | 271 | 207 | 41 |
Examples of css and html codes for elements with #B98721 color. Also use rgb(185,135,33) instead hex code.
.myTextColor { color: #B98721; }
<p style="color:#B98721">This sample text font color is #B98721.</p>
This text font color is #B98721.
.myBgColor { background-color: #B98721; }
<div style="background-color:#B98721">Inner text</div>
This div background color is #B98721.
.myBorderColor { border: 1px solid #B98721; }
<div style="border:3px solid #B98721">Div</div>
This div border color is #B98721.
.myOpacity80 { color: #B98721; opacity: 0.8; }
<p style="color:#B98721;opacity:0.8;">80%</p>
Text with #B98721 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B98721;}
<p style="text-shadow: 3px 3px 1px #B98721">Text here.</p>
This text has shadow with #B98721 color.
.textShadow {text-shadow: 3px 3px 1px #B98721, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B98721, 5px 5px 20px red">Text here.</p>
This text has shadow with #B98721 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B98721, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B98721, Direction=45, Strength=4)">Text</p>
This text has shadow with #B98721 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B98721; -webkit-box-shadow: 1px 1px 3px 2px #B98721; box-shadow: 1px 1px 3px 2px #B98721; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B98721; -webkit-box-shadow: 1px 1px 3px 2px #B98721; box-shadow:1px 1px 3px 2px #B98721;">
Div content here</div>
This text has color #B98721 on black background.
This text has color #B98721 on white background.
This text has black color on #B98721 background.
This text has white color on #B98721 background.