HEX: #B98A3C
RGB: (185,138,60)
#B98A3C contains mainly red and green colors. Web safe color of #B98A3C is #CC9933 (or #C93).
#B98A3C color RGB value is (185,138,60).
RGB: (185,138,60) (73%,54%,24%)
R 185 of 255 = 73%
G 138 of 255 = 54%
B 60 of 255 = 24%
R + G + B ~ 50%. #B98A3C is middle color (not dark and not light).
R + G + B =
185 + 138 + 60 = 383 (100%)
R 185 of 383 ~ 48.3%
G 138 of 383 ~ 36.03%
B 60 of 383 ~ 15.67%
#B98A3C color CMYK value is (0,25,68,27).
CMYK: (0,25,68,27) C0M25Y68K27 (0%,25%,68%,27%) (0.00/0.25/0.68/0.27)
B9 | 8A | 3C | |
---|---|---|---|
RGB | 185 | 138 | 60 |
HSL | 37° | 51.02% | 48.04% |
HSB/HSV | 37° | 67.57% | 72.55% |
CMYK | 0.00% | 25.41% | 67.57% |
27.45% |
HEX | B9 | 8A | 3C |
Decimal | 185 | 138 | 60 |
Binary | 10111001 | 10001010 | 111100 |
Octal | 271 | 212 | 74 |
Examples of css and html codes for elements with #B98A3C color. Also use rgb(185,138,60) instead hex code.
.myTextColor { color: #B98A3C; }
<p style="color:#B98A3C">This sample text font color is #B98A3C.</p>
This text font color is #B98A3C.
.myBgColor { background-color: #B98A3C; }
<div style="background-color:#B98A3C">Inner text</div>
This div background color is #B98A3C.
.myBorderColor { border: 1px solid #B98A3C; }
<div style="border:3px solid #B98A3C">Div</div>
This div border color is #B98A3C.
.myOpacity80 { color: #B98A3C; opacity: 0.8; }
<p style="color:#B98A3C;opacity:0.8;">80%</p>
Text with #B98A3C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B98A3C;}
<p style="text-shadow: 3px 3px 1px #B98A3C">Text here.</p>
This text has shadow with #B98A3C color.
.textShadow {text-shadow: 3px 3px 1px #B98A3C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B98A3C, 5px 5px 20px red">Text here.</p>
This text has shadow with #B98A3C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B98A3C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B98A3C, Direction=45, Strength=4)">Text</p>
This text has shadow with #B98A3C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B98A3C; -webkit-box-shadow: 1px 1px 3px 2px #B98A3C; box-shadow: 1px 1px 3px 2px #B98A3C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B98A3C; -webkit-box-shadow: 1px 1px 3px 2px #B98A3C; box-shadow:1px 1px 3px 2px #B98A3C;">
Div content here</div>
This text has color #B98A3C on black background.
This text has color #B98A3C on white background.
This text has black color on #B98A3C background.
This text has white color on #B98A3C background.