HEX: #B4875E
RGB: (180,135,94)
#B4875E contains mainly red and green colors. Web safe color of #B4875E is #CC9966 (or #C96).
#B4875E color RGB value is (180,135,94).
RGB: (180,135,94) (71%,53%,37%)
R 180 of 255 = 71%
G 135 of 255 = 53%
B 94 of 255 = 37%
R + G + B ~ 54%. #B4875E is middle color (not dark and not light).
R + G + B =
180 + 135 + 94 = 409 (100%)
R 180 of 409 ~ 44.01%
G 135 of 409 ~ 33.01%
B 94 of 409 ~ 22.98%
#B4875E color CMYK value is (0,25,48,29).
CMYK: (0,25,48,29) C0M25Y48K29 (0%,25%,48%,29%) (0.00/0.25/0.48/0.29)
B4 | 87 | 5E | |
---|---|---|---|
RGB | 180 | 135 | 94 |
HSL | 29° | 36.44% | 53.73% |
HSB/HSV | 29° | 47.78% | 70.59% |
CMYK | 0.00% | 25.00% | 47.78% |
29.41% |
HEX | B4 | 87 | 5E |
Decimal | 180 | 135 | 94 |
Binary | 10110100 | 10000111 | 1011110 |
Octal | 264 | 207 | 136 |
Examples of css and html codes for elements with #B4875E color. Also use rgb(180,135,94) instead hex code.
.myTextColor { color: #B4875E; }
<p style="color:#B4875E">This sample text font color is #B4875E.</p>
This text font color is #B4875E.
.myBgColor { background-color: #B4875E; }
<div style="background-color:#B4875E">Inner text</div>
This div background color is #B4875E.
.myBorderColor { border: 1px solid #B4875E; }
<div style="border:3px solid #B4875E">Div</div>
This div border color is #B4875E.
.myOpacity80 { color: #B4875E; opacity: 0.8; }
<p style="color:#B4875E;opacity:0.8;">80%</p>
Text with #B4875E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #B4875E;}
<p style="text-shadow: 3px 3px 1px #B4875E">Text here.</p>
This text has shadow with #B4875E color.
.textShadow {text-shadow: 3px 3px 1px #B4875E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #B4875E, 5px 5px 20px red">Text here.</p>
This text has shadow with #B4875E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#B4875E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#B4875E, Direction=45, Strength=4)">Text</p>
This text has shadow with #B4875E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #B4875E; -webkit-box-shadow: 1px 1px 3px 2px #B4875E; box-shadow: 1px 1px 3px 2px #B4875E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #B4875E; -webkit-box-shadow: 1px 1px 3px 2px #B4875E; box-shadow:1px 1px 3px 2px #B4875E;">
Div content here</div>
This text has color #B4875E on black background.
This text has color #B4875E on white background.
This text has black color on #B4875E background.
This text has white color on #B4875E background.