HEX: #B9874D
RGB: (185,135,77)
#B9874D contains mainly red and green colors. Web safe color of #B9874D is #CC9933 (or #C93).
#B9874D color RGB value is (185,135,77).
RGB: (185,135,77) (73%,53%,30%)
R 185 of 255 = 73%
G 135 of 255 = 53%
B 77 of 255 = 30%
R + G + B ~ 52%. #B9874D is middle color (not dark and not light).
R + G + B =
185 + 135 + 77 = 397 (100%)
R 185 of 397 ~ 46.6%
G 135 of 397 ~ 34.01%
B 77 of 397 ~ 19.4%
#B9874D color CMYK value is (0,27,58,27).
CMYK: (0,27,58,27) C0M27Y58K27 (0%,27%,58%,27%) (0.00/0.27/0.58/0.27)
B9 | 87 | 4D | |
---|---|---|---|
RGB | 185 | 135 | 77 |
HSL | 32° | 43.55% | 51.37% |
HSB/HSV | 32° | 58.38% | 72.55% |
CMYK | 0.00% | 27.03% | 58.38% |
27.45% |
HEX | B9 | 87 | 4D |
Decimal | 185 | 135 | 77 |
Binary | 10111001 | 10000111 | 1001101 |
Octal | 271 | 207 | 115 |
Examples of css and html codes for elements with #B9874D color. Also use rgb(185,135,77) instead hex code.
.myTextColor { color: #B9874D; }
<p style="color:#B9874D">This sample text font color is #B9874D.</p>
This text font color is #B9874D.
.myBgColor { background-color: #B9874D; }
<div style="background-color:#B9874D">Inner text</div>
This div background color is #B9874D.
.myBorderColor { border: 1px solid #B9874D; }
<div style="border:3px solid #B9874D">Div</div>
This div border color is #B9874D.
.myOpacity80 { color: #B9874D; opacity: 0.8; }
<p style="color:#B9874D;opacity:0.8;">80%</p>
Text with #B9874D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B9874D;}
<p style="text-shadow: 3px 3px 1px #B9874D">Text here.</p>
This text has shadow with #B9874D color.
.textShadow {text-shadow: 3px 3px 1px #B9874D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B9874D, 5px 5px 20px red">Text here.</p>
This text has shadow with #B9874D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B9874D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B9874D, Direction=45, Strength=4)">Text</p>
This text has shadow with #B9874D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B9874D; -webkit-box-shadow: 1px 1px 3px 2px #B9874D; box-shadow: 1px 1px 3px 2px #B9874D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B9874D; -webkit-box-shadow: 1px 1px 3px 2px #B9874D; box-shadow:1px 1px 3px 2px #B9874D;">
Div content here</div>
This text has color #B9874D on black background.
This text has color #B9874D on white background.
This text has black color on #B9874D background.
This text has white color on #B9874D background.