HEX: #996817
RGB: (153,104,23)
#996817 contains mainly red and green colors. Web safe color of #996817 is #996600 (or #960).
#996817 color RGB value is (153,104,23).
RGB: (153,104,23) (60%,41%,9%)
R 153 of 255 = 60%
G 104 of 255 = 41%
B 23 of 255 = 9%
R + G + B ~ 37%. #996817 is quite dark color.
R + G + B =
153 + 104 + 23 = 280 (100%)
R 153 of 280 ~ 54.64%
G 104 of 280 ~ 37.14%
B 23 of 280 ~ 8.21%
#996817 color CMYK value is (0,32,85,40).
CMYK: (0,32,85,40) C0M32Y85K40 (0%,32%,85%,40%) (0.00/0.32/0.85/0.40)
99 | 68 | 17 | |
---|---|---|---|
RGB | 153 | 104 | 23 |
HSL | 37° | 73.86% | 34.51% |
HSB/HSV | 37° | 84.97% | 60.00% |
CMYK | 0.00% | 32.03% | 84.97% |
40.00% |
HEX | 99 | 68 | 17 |
Decimal | 153 | 104 | 23 |
Binary | 10011001 | 1101000 | 10111 |
Octal | 231 | 150 | 27 |
Examples of css and html codes for elements with #996817 color. Also use rgb(153,104,23) instead hex code.
.myTextColor { color: #996817; }
<p style="color:#996817">This sample text font color is #996817.</p>
This text font color is #996817.
.myBgColor { background-color: #996817; }
<div style="background-color:#996817">Inner text</div>
This div background color is #996817.
.myBorderColor { border: 1px solid #996817; }
<div style="border:3px solid #996817">Div</div>
This div border color is #996817.
.myOpacity80 { color: #996817; opacity: 0.8; }
<p style="color:#996817;opacity:0.8;">80%</p>
Text with #996817 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #996817;}
<p style="text-shadow: 3px 3px 1px #996817">Text here.</p>
This text has shadow with #996817 color.
.textShadow {text-shadow: 3px 3px 1px #996817, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #996817, 5px 5px 20px red">Text here.</p>
This text has shadow with #996817 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#996817, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#996817, Direction=45, Strength=4)">Text</p>
This text has shadow with #996817 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #996817; -webkit-box-shadow: 1px 1px 3px 2px #996817; box-shadow: 1px 1px 3px 2px #996817; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #996817; -webkit-box-shadow: 1px 1px 3px 2px #996817; box-shadow:1px 1px 3px 2px #996817;">
Div content here</div>
This text has color #996817 on black background.
This text has color #996817 on white background.
This text has black color on #996817 background.
This text has white color on #996817 background.