HEX: #976836
RGB: (151,104,54)
#976836 contains mainly red and green colors. Web safe color of #976836 is #996633 (or #963).
#976836 color RGB value is (151,104,54).
RGB: (151,104,54) (59%,41%,21%)
R 151 of 255 = 59%
G 104 of 255 = 41%
B 54 of 255 = 21%
R + G + B ~ 40%. #976836 is middle color (not dark and not light).
R + G + B =
151 + 104 + 54 = 309 (100%)
R 151 of 309 ~ 48.87%
G 104 of 309 ~ 33.66%
B 54 of 309 ~ 17.48%
#976836 color CMYK value is (0,31,64,41).
CMYK: (0,31,64,41) C0M31Y64K41 (0%,31%,64%,41%) (0.00/0.31/0.64/0.41)
97 | 68 | 36 | |
---|---|---|---|
RGB | 151 | 104 | 54 |
HSL | 31° | 47.32% | 40.20% |
HSB/HSV | 31° | 64.24% | 59.22% |
CMYK | 0.00% | 31.13% | 64.24% |
40.78% |
HEX | 97 | 68 | 36 |
Decimal | 151 | 104 | 54 |
Binary | 10010111 | 1101000 | 110110 |
Octal | 227 | 150 | 66 |
Examples of css and html codes for elements with #976836 color. Also use rgb(151,104,54) instead hex code.
.myTextColor { color: #976836; }
<p style="color:#976836">This sample text font color is #976836.</p>
This text font color is #976836.
.myBgColor { background-color: #976836; }
<div style="background-color:#976836">Inner text</div>
This div background color is #976836.
.myBorderColor { border: 1px solid #976836; }
<div style="border:3px solid #976836">Div</div>
This div border color is #976836.
.myOpacity80 { color: #976836; opacity: 0.8; }
<p style="color:#976836;opacity:0.8;">80%</p>
Text with #976836 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976836;}
<p style="text-shadow: 3px 3px 1px #976836">Text here.</p>
This text has shadow with #976836 color.
.textShadow {text-shadow: 3px 3px 1px #976836, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976836, 5px 5px 20px red">Text here.</p>
This text has shadow with #976836 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976836, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976836, Direction=45, Strength=4)">Text</p>
This text has shadow with #976836 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976836; -webkit-box-shadow: 1px 1px 3px 2px #976836; box-shadow: 1px 1px 3px 2px #976836; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976836; -webkit-box-shadow: 1px 1px 3px 2px #976836; box-shadow:1px 1px 3px 2px #976836;">
Div content here</div>
This text has color #976836 on black background.
This text has color #976836 on white background.
This text has black color on #976836 background.
This text has white color on #976836 background.