HEX: #997438
RGB: (153,116,56)
#997438 contains mainly red and green colors. Web safe color of #997438 is #996633 (or #963).
#997438 color RGB value is (153,116,56).
RGB: (153,116,56) (60%,45%,22%)
R 153 of 255 = 60%
G 116 of 255 = 45%
B 56 of 255 = 22%
R + G + B ~ 42%. #997438 is middle color (not dark and not light).
R + G + B =
153 + 116 + 56 = 325 (100%)
R 153 of 325 ~ 47.08%
G 116 of 325 ~ 35.69%
B 56 of 325 ~ 17.23%
#997438 color CMYK value is (0,24,63,40).
CMYK: (0,24,63,40) C0M24Y63K40 (0%,24%,63%,40%) (0.00/0.24/0.63/0.40)
99 | 74 | 38 | |
---|---|---|---|
RGB | 153 | 116 | 56 |
HSL | 37° | 46.41% | 40.98% |
HSB/HSV | 37° | 63.40% | 60.00% |
CMYK | 0.00% | 24.18% | 63.40% |
40.00% |
HEX | 99 | 74 | 38 |
Decimal | 153 | 116 | 56 |
Binary | 10011001 | 1110100 | 111000 |
Octal | 231 | 164 | 70 |
Examples of css and html codes for elements with #997438 color. Also use rgb(153,116,56) instead hex code.
.myTextColor { color: #997438; }
<p style="color:#997438">This sample text font color is #997438.</p>
This text font color is #997438.
.myBgColor { background-color: #997438; }
<div style="background-color:#997438">Inner text</div>
This div background color is #997438.
.myBorderColor { border: 1px solid #997438; }
<div style="border:3px solid #997438">Div</div>
This div border color is #997438.
.myOpacity80 { color: #997438; opacity: 0.8; }
<p style="color:#997438;opacity:0.8;">80%</p>
Text with #997438 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #997438;}
<p style="text-shadow: 3px 3px 1px #997438">Text here.</p>
This text has shadow with #997438 color.
.textShadow {text-shadow: 3px 3px 1px #997438, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #997438, 5px 5px 20px red">Text here.</p>
This text has shadow with #997438 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#997438, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#997438, Direction=45, Strength=4)">Text</p>
This text has shadow with #997438 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #997438; -webkit-box-shadow: 1px 1px 3px 2px #997438; box-shadow: 1px 1px 3px 2px #997438; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #997438; -webkit-box-shadow: 1px 1px 3px 2px #997438; box-shadow:1px 1px 3px 2px #997438;">
Div content here</div>
This text has color #997438 on black background.
This text has color #997438 on white background.
This text has black color on #997438 background.
This text has white color on #997438 background.