HEX: #976301
RGB: (151,99,1)
#976301 contains mainly red and green colors. Web safe color of #976301 is #996600 (or #960).
#976301 color RGB value is (151,99,1).
RGB: (151,99,1) (59%,39%,0%)
R 151 of 255 = 59%
G 99 of 255 = 39%
B 1 of 255 = 0%
R + G + B ~ 33%. #976301 is quite dark color.
R + G + B =
151 + 99 + 1 = 251 (100%)
R 151 of 251 ~ 60.16%
G 99 of 251 ~ 39.44%
B 1 of 251 ~ 0.4%
#976301 color CMYK value is (0,34,99,41).
CMYK: (0,34,99,41) C0M34Y99K41 (0%,34%,99%,41%) (0.00/0.34/0.99/0.41)
97 | 63 | 01 | |
---|---|---|---|
RGB | 151 | 99 | 1 |
HSL | 39° | 98.68% | 29.80% |
HSB/HSV | 39° | 99.34% | 59.22% |
CMYK | 0.00% | 34.44% | 99.34% |
40.78% |
HEX | 97 | 63 | 01 |
Decimal | 151 | 99 | 1 |
Binary | 10010111 | 1100011 | 1 |
Octal | 227 | 143 | 1 |
Examples of css and html codes for elements with #976301 color. Also use rgb(151,99,1) instead hex code.
.myTextColor { color: #976301; }
<p style="color:#976301">This sample text font color is #976301.</p>
This text font color is #976301.
.myBgColor { background-color: #976301; }
<div style="background-color:#976301">Inner text</div>
This div background color is #976301.
.myBorderColor { border: 1px solid #976301; }
<div style="border:3px solid #976301">Div</div>
This div border color is #976301.
.myOpacity80 { color: #976301; opacity: 0.8; }
<p style="color:#976301;opacity:0.8;">80%</p>
Text with #976301 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976301;}
<p style="text-shadow: 3px 3px 1px #976301">Text here.</p>
This text has shadow with #976301 color.
.textShadow {text-shadow: 3px 3px 1px #976301, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976301, 5px 5px 20px red">Text here.</p>
This text has shadow with #976301 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976301, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976301, Direction=45, Strength=4)">Text</p>
This text has shadow with #976301 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976301; -webkit-box-shadow: 1px 1px 3px 2px #976301; box-shadow: 1px 1px 3px 2px #976301; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976301; -webkit-box-shadow: 1px 1px 3px 2px #976301; box-shadow:1px 1px 3px 2px #976301;">
Div content here</div>
This text has color #976301 on black background.
This text has color #976301 on white background.
This text has black color on #976301 background.
This text has white color on #976301 background.