HEX: #976C17
RGB: (151,108,23)
#976C17 contains mainly red and green colors. Web safe color of #976C17 is #996600 (or #960).
#976C17 color RGB value is (151,108,23).
RGB: (151,108,23) (59%,42%,9%)
R 151 of 255 = 59%
G 108 of 255 = 42%
B 23 of 255 = 9%
R + G + B ~ 37%. #976C17 is quite dark color.
R + G + B =
151 + 108 + 23 = 282 (100%)
R 151 of 282 ~ 53.55%
G 108 of 282 ~ 38.3%
B 23 of 282 ~ 8.16%
#976C17 color CMYK value is (0,28,85,41).
CMYK: (0,28,85,41) C0M28Y85K41 (0%,28%,85%,41%) (0.00/0.28/0.85/0.41)
97 | 6C | 17 | |
---|---|---|---|
RGB | 151 | 108 | 23 |
HSL | 40° | 73.56% | 34.12% |
HSB/HSV | 40° | 84.77% | 59.22% |
CMYK | 0.00% | 28.48% | 84.77% |
40.78% |
HEX | 97 | 6C | 17 |
Decimal | 151 | 108 | 23 |
Binary | 10010111 | 1101100 | 10111 |
Octal | 227 | 154 | 27 |
Examples of css and html codes for elements with #976C17 color. Also use rgb(151,108,23) instead hex code.
.myTextColor { color: #976C17; }
<p style="color:#976C17">This sample text font color is #976C17.</p>
This text font color is #976C17.
.myBgColor { background-color: #976C17; }
<div style="background-color:#976C17">Inner text</div>
This div background color is #976C17.
.myBorderColor { border: 1px solid #976C17; }
<div style="border:3px solid #976C17">Div</div>
This div border color is #976C17.
.myOpacity80 { color: #976C17; opacity: 0.8; }
<p style="color:#976C17;opacity:0.8;">80%</p>
Text with #976C17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976C17;}
<p style="text-shadow: 3px 3px 1px #976C17">Text here.</p>
This text has shadow with #976C17 color.
.textShadow {text-shadow: 3px 3px 1px #976C17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976C17, 5px 5px 20px red">Text here.</p>
This text has shadow with #976C17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976C17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976C17, Direction=45, Strength=4)">Text</p>
This text has shadow with #976C17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976C17; -webkit-box-shadow: 1px 1px 3px 2px #976C17; box-shadow: 1px 1px 3px 2px #976C17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976C17; -webkit-box-shadow: 1px 1px 3px 2px #976C17; box-shadow:1px 1px 3px 2px #976C17;">
Div content here</div>
This text has color #976C17 on black background.
This text has color #976C17 on white background.
This text has black color on #976C17 background.
This text has white color on #976C17 background.