HEX: #848A6B
RGB: (132,138,107)
#848A6B contains red, green and blue colors in about the same proportion. Web safe color of #848A6B is #999966 (or #996).
#848A6B color RGB value is (132,138,107).
RGB: (132,138,107) (52%,54%,42%)
R 132 of 255 = 52%
G 138 of 255 = 54%
B 107 of 255 = 42%
R + G + B ~ 49%. #848A6B is middle color (not dark and not light).
R + G + B =
132 + 138 + 107 = 377 (100%)
R 132 of 377 ~ 35.01%
G 138 of 377 ~ 36.6%
B 107 of 377 ~ 28.38%
#848A6B color CMYK value is (4,0,22,46).
CMYK: (4,0,22,46) C4M0Y22K46 (4%,0%,22%,46%) (0.04/0.00/0.22/0.46)
84 | 8A | 6B | |
---|---|---|---|
RGB | 132 | 138 | 107 |
HSL | 72° | 12.65% | 48.04% |
HSB/HSV | 72° | 22.46% | 54.12% |
CMYK | 4.35% | 0.00% | 22.46% |
45.88% |
HEX | 84 | 8A | 6B |
Decimal | 132 | 138 | 107 |
Binary | 10000100 | 10001010 | 1101011 |
Octal | 204 | 212 | 153 |
Examples of css and html codes for elements with #848A6B color. Also use rgb(132,138,107) instead hex code.
.myTextColor { color: #848A6B; }
<p style="color:#848A6B">This sample text font color is #848A6B.</p>
This text font color is #848A6B.
.myBgColor { background-color: #848A6B; }
<div style="background-color:#848A6B">Inner text</div>
This div background color is #848A6B.
.myBorderColor { border: 1px solid #848A6B; }
<div style="border:3px solid #848A6B">Div</div>
This div border color is #848A6B.
.myOpacity80 { color: #848A6B; opacity: 0.8; }
<p style="color:#848A6B;opacity:0.8;">80%</p>
Text with #848A6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #848A6B;}
<p style="text-shadow: 3px 3px 1px #848A6B">Text here.</p>
This text has shadow with #848A6B color.
.textShadow {text-shadow: 3px 3px 1px #848A6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #848A6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #848A6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#848A6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#848A6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #848A6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #848A6B; -webkit-box-shadow: 1px 1px 3px 2px #848A6B; box-shadow: 1px 1px 3px 2px #848A6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #848A6B; -webkit-box-shadow: 1px 1px 3px 2px #848A6B; box-shadow:1px 1px 3px 2px #848A6B;">
Div content here</div>
This text has color #848A6B on black background.
This text has color #848A6B on white background.
This text has black color on #848A6B background.
This text has white color on #848A6B background.