HEX: #977E4A
RGB: (151,126,74)
#977E4A contains mainly red and green colors. Web safe color of #977E4A is #996633 (or #963).
#977E4A color RGB value is (151,126,74).
RGB: (151,126,74) (59%,49%,29%)
R 151 of 255 = 59%
G 126 of 255 = 49%
B 74 of 255 = 29%
R + G + B ~ 46%. #977E4A is middle color (not dark and not light).
R + G + B =
151 + 126 + 74 = 351 (100%)
R 151 of 351 ~ 43.02%
G 126 of 351 ~ 35.9%
B 74 of 351 ~ 21.08%
#977E4A color CMYK value is (0,17,51,41).
CMYK: (0,17,51,41) C0M17Y51K41 (0%,17%,51%,41%) (0.00/0.17/0.51/0.41)
97 | 7E | 4A | |
---|---|---|---|
RGB | 151 | 126 | 74 |
HSL | 41° | 34.22% | 44.12% |
HSB/HSV | 41° | 50.99% | 59.22% |
CMYK | 0.00% | 16.56% | 50.99% |
40.78% |
HEX | 97 | 7E | 4A |
Decimal | 151 | 126 | 74 |
Binary | 10010111 | 1111110 | 1001010 |
Octal | 227 | 176 | 112 |
Examples of css and html codes for elements with #977E4A color. Also use rgb(151,126,74) instead hex code.
.myTextColor { color: #977E4A; }
<p style="color:#977E4A">This sample text font color is #977E4A.</p>
This text font color is #977E4A.
.myBgColor { background-color: #977E4A; }
<div style="background-color:#977E4A">Inner text</div>
This div background color is #977E4A.
.myBorderColor { border: 1px solid #977E4A; }
<div style="border:3px solid #977E4A">Div</div>
This div border color is #977E4A.
.myOpacity80 { color: #977E4A; opacity: 0.8; }
<p style="color:#977E4A;opacity:0.8;">80%</p>
Text with #977E4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977E4A;}
<p style="text-shadow: 3px 3px 1px #977E4A">Text here.</p>
This text has shadow with #977E4A color.
.textShadow {text-shadow: 3px 3px 1px #977E4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977E4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #977E4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977E4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977E4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #977E4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977E4A; -webkit-box-shadow: 1px 1px 3px 2px #977E4A; box-shadow: 1px 1px 3px 2px #977E4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977E4A; -webkit-box-shadow: 1px 1px 3px 2px #977E4A; box-shadow:1px 1px 3px 2px #977E4A;">
Div content here</div>
This text has color #977E4A on black background.
This text has color #977E4A on white background.
This text has black color on #977E4A background.
This text has white color on #977E4A background.