HEX: #848442
RGB: (132,132,66)
#848442 contains mainly red and green colors. Web safe color of #848442 is #999933 (or #993).
#848442 color RGB value is (132,132,66).
RGB: (132,132,66) (52%,52%,26%)
R 132 of 255 = 52%
G 132 of 255 = 52%
B 66 of 255 = 26%
R + G + B ~ 43%. #848442 is middle color (not dark and not light).
R + G + B =
132 + 132 + 66 = 330 (100%)
R 132 of 330 ~ 40%
G 132 of 330 ~ 40%
B 66 of 330 ~ 20%
#848442 color CMYK value is (0,0,50,48).
CMYK: (0,0,50,48) C0M0Y50K48 (0%,0%,50%,48%) (0.00/0.00/0.50/0.48)
84 | 84 | 42 | |
---|---|---|---|
RGB | 132 | 132 | 66 |
HSL | 60° | 33.33% | 38.82% |
HSB/HSV | 60° | 50.00% | 51.76% |
CMYK | 0.00% | 0.00% | 50.00% |
48.24% |
HEX | 84 | 84 | 42 |
Decimal | 132 | 132 | 66 |
Binary | 10000100 | 10000100 | 1000010 |
Octal | 204 | 204 | 102 |
Examples of css and html codes for elements with #848442 color. Also use rgb(132,132,66) instead hex code.
.myTextColor { color: #848442; }
<p style="color:#848442">This sample text font color is #848442.</p>
This text font color is #848442.
.myBgColor { background-color: #848442; }
<div style="background-color:#848442">Inner text</div>
This div background color is #848442.
.myBorderColor { border: 1px solid #848442; }
<div style="border:3px solid #848442">Div</div>
This div border color is #848442.
.myOpacity80 { color: #848442; opacity: 0.8; }
<p style="color:#848442;opacity:0.8;">80%</p>
Text with #848442 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #848442;}
<p style="text-shadow: 3px 3px 1px #848442">Text here.</p>
This text has shadow with #848442 color.
.textShadow {text-shadow: 3px 3px 1px #848442, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #848442, 5px 5px 20px red">Text here.</p>
This text has shadow with #848442 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#848442, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#848442, Direction=45, Strength=4)">Text</p>
This text has shadow with #848442 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #848442; -webkit-box-shadow: 1px 1px 3px 2px #848442; box-shadow: 1px 1px 3px 2px #848442; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #848442; -webkit-box-shadow: 1px 1px 3px 2px #848442; box-shadow:1px 1px 3px 2px #848442;">
Div content here</div>
This text has color #848442 on black background.
This text has color #848442 on white background.
This text has black color on #848442 background.
This text has white color on #848442 background.