HEX: #997307
RGB: (153,115,7)
#997307 contains mainly red and green colors. Web safe color of #997307 is #996600 (or #960).
#997307 color RGB value is (153,115,7).
RGB: (153,115,7) (60%,45%,3%)
R 153 of 255 = 60%
G 115 of 255 = 45%
B 7 of 255 = 3%
R + G + B ~ 36%. #997307 is quite dark color.
R + G + B =
153 + 115 + 7 = 275 (100%)
R 153 of 275 ~ 55.64%
G 115 of 275 ~ 41.82%
B 7 of 275 ~ 2.55%
#997307 color CMYK value is (0,25,95,40).
CMYK: (0,25,95,40) C0M25Y95K40 (0%,25%,95%,40%) (0.00/0.25/0.95/0.40)
99 | 73 | 07 | |
---|---|---|---|
RGB | 153 | 115 | 7 |
HSL | 44° | 91.25% | 31.37% |
HSB/HSV | 44° | 95.42% | 60.00% |
CMYK | 0.00% | 24.84% | 95.42% |
40.00% |
HEX | 99 | 73 | 07 |
Decimal | 153 | 115 | 7 |
Binary | 10011001 | 1110011 | 111 |
Octal | 231 | 163 | 7 |
Examples of css and html codes for elements with #997307 color. Also use rgb(153,115,7) instead hex code.
.myTextColor { color: #997307; }
<p style="color:#997307">This sample text font color is #997307.</p>
This text font color is #997307.
.myBgColor { background-color: #997307; }
<div style="background-color:#997307">Inner text</div>
This div background color is #997307.
.myBorderColor { border: 1px solid #997307; }
<div style="border:3px solid #997307">Div</div>
This div border color is #997307.
.myOpacity80 { color: #997307; opacity: 0.8; }
<p style="color:#997307;opacity:0.8;">80%</p>
Text with #997307 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997307;}
<p style="text-shadow: 3px 3px 1px #997307">Text here.</p>
This text has shadow with #997307 color.
.textShadow {text-shadow: 3px 3px 1px #997307, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997307, 5px 5px 20px red">Text here.</p>
This text has shadow with #997307 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997307, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997307, Direction=45, Strength=4)">Text</p>
This text has shadow with #997307 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997307; -webkit-box-shadow: 1px 1px 3px 2px #997307; box-shadow: 1px 1px 3px 2px #997307; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997307; -webkit-box-shadow: 1px 1px 3px 2px #997307; box-shadow:1px 1px 3px 2px #997307;">
Div content here</div>
This text has color #997307 on black background.
This text has color #997307 on white background.
This text has black color on #997307 background.
This text has white color on #997307 background.