HEX: #848C6B
RGB: (132,140,107)
#848C6B contains red, green and blue colors in about the same proportion. Web safe color of #848C6B is #999966 (or #996).
#848C6B color RGB value is (132,140,107).
RGB: (132,140,107) (52%,55%,42%)
R 132 of 255 = 52%
G 140 of 255 = 55%
B 107 of 255 = 42%
R + G + B ~ 50%. #848C6B is middle color (not dark and not light).
R + G + B =
132 + 140 + 107 = 379 (100%)
R 132 of 379 ~ 34.83%
G 140 of 379 ~ 36.94%
B 107 of 379 ~ 28.23%
#848C6B color CMYK value is (6,0,24,45).
CMYK: (6,0,24,45) C6M0Y24K45 (6%,0%,24%,45%) (0.06/0.00/0.24/0.45)
84 | 8C | 6B | |
---|---|---|---|
RGB | 132 | 140 | 107 |
HSL | 75° | 13.36% | 48.43% |
HSB/HSV | 75° | 23.57% | 54.90% |
CMYK | 5.71% | 0.00% | 23.57% |
45.10% |
HEX | 84 | 8C | 6B |
Decimal | 132 | 140 | 107 |
Binary | 10000100 | 10001100 | 1101011 |
Octal | 204 | 214 | 153 |
Examples of css and html codes for elements with #848C6B color. Also use rgb(132,140,107) instead hex code.
.myTextColor { color: #848C6B; }
<p style="color:#848C6B">This sample text font color is #848C6B.</p>
This text font color is #848C6B.
.myBgColor { background-color: #848C6B; }
<div style="background-color:#848C6B">Inner text</div>
This div background color is #848C6B.
.myBorderColor { border: 1px solid #848C6B; }
<div style="border:3px solid #848C6B">Div</div>
This div border color is #848C6B.
.myOpacity80 { color: #848C6B; opacity: 0.8; }
<p style="color:#848C6B;opacity:0.8;">80%</p>
Text with #848C6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #848C6B;}
<p style="text-shadow: 3px 3px 1px #848C6B">Text here.</p>
This text has shadow with #848C6B color.
.textShadow {text-shadow: 3px 3px 1px #848C6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #848C6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #848C6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#848C6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#848C6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #848C6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #848C6B; -webkit-box-shadow: 1px 1px 3px 2px #848C6B; box-shadow: 1px 1px 3px 2px #848C6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #848C6B; -webkit-box-shadow: 1px 1px 3px 2px #848C6B; box-shadow:1px 1px 3px 2px #848C6B;">
Div content here</div>
This text has color #848C6B on black background.
This text has color #848C6B on white background.
This text has black color on #848C6B background.
This text has white color on #848C6B background.