HEX: #977047
RGB: (151,112,71)
#977047 contains mainly red and green colors. Web safe color of #977047 is #996633 (or #963).
#977047 color RGB value is (151,112,71).
RGB: (151,112,71) (59%,44%,28%)
R 151 of 255 = 59%
G 112 of 255 = 44%
B 71 of 255 = 28%
R + G + B ~ 44%. #977047 is middle color (not dark and not light).
R + G + B =
151 + 112 + 71 = 334 (100%)
R 151 of 334 ~ 45.21%
G 112 of 334 ~ 33.53%
B 71 of 334 ~ 21.26%
#977047 color CMYK value is (0,26,53,41).
CMYK: (0,26,53,41) C0M26Y53K41 (0%,26%,53%,41%) (0.00/0.26/0.53/0.41)
97 | 70 | 47 | |
---|---|---|---|
RGB | 151 | 112 | 71 |
HSL | 31° | 36.04% | 43.53% |
HSB/HSV | 31° | 52.98% | 59.22% |
CMYK | 0.00% | 25.83% | 52.98% |
40.78% |
HEX | 97 | 70 | 47 |
Decimal | 151 | 112 | 71 |
Binary | 10010111 | 1110000 | 1000111 |
Octal | 227 | 160 | 107 |
Examples of css and html codes for elements with #977047 color. Also use rgb(151,112,71) instead hex code.
.myTextColor { color: #977047; }
<p style="color:#977047">This sample text font color is #977047.</p>
This text font color is #977047.
.myBgColor { background-color: #977047; }
<div style="background-color:#977047">Inner text</div>
This div background color is #977047.
.myBorderColor { border: 1px solid #977047; }
<div style="border:3px solid #977047">Div</div>
This div border color is #977047.
.myOpacity80 { color: #977047; opacity: 0.8; }
<p style="color:#977047;opacity:0.8;">80%</p>
Text with #977047 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977047;}
<p style="text-shadow: 3px 3px 1px #977047">Text here.</p>
This text has shadow with #977047 color.
.textShadow {text-shadow: 3px 3px 1px #977047, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977047, 5px 5px 20px red">Text here.</p>
This text has shadow with #977047 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977047, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977047, Direction=45, Strength=4)">Text</p>
This text has shadow with #977047 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977047; -webkit-box-shadow: 1px 1px 3px 2px #977047; box-shadow: 1px 1px 3px 2px #977047; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977047; -webkit-box-shadow: 1px 1px 3px 2px #977047; box-shadow:1px 1px 3px 2px #977047;">
Div content here</div>
This text has color #977047 on black background.
This text has color #977047 on white background.
This text has black color on #977047 background.
This text has white color on #977047 background.