HEX: #998139
RGB: (153,129,57)
#998139 contains mainly red and green colors. Web safe color of #998139 is #999933 (or #993).
#998139 color RGB value is (153,129,57).
RGB: (153,129,57) (60%,51%,22%)
R 153 of 255 = 60%
G 129 of 255 = 51%
B 57 of 255 = 22%
R + G + B ~ 44%. #998139 is middle color (not dark and not light).
R + G + B =
153 + 129 + 57 = 339 (100%)
R 153 of 339 ~ 45.13%
G 129 of 339 ~ 38.05%
B 57 of 339 ~ 16.81%
#998139 color CMYK value is (0,16,63,40).
CMYK: (0,16,63,40) C0M16Y63K40 (0%,16%,63%,40%) (0.00/0.16/0.63/0.40)
99 | 81 | 39 | |
---|---|---|---|
RGB | 153 | 129 | 57 |
HSL | 45° | 45.71% | 41.18% |
HSB/HSV | 45° | 62.75% | 60.00% |
CMYK | 0.00% | 15.69% | 62.75% |
40.00% |
HEX | 99 | 81 | 39 |
Decimal | 153 | 129 | 57 |
Binary | 10011001 | 10000001 | 111001 |
Octal | 231 | 201 | 71 |
Examples of css and html codes for elements with #998139 color. Also use rgb(153,129,57) instead hex code.
.myTextColor { color: #998139; }
<p style="color:#998139">This sample text font color is #998139.</p>
This text font color is #998139.
.myBgColor { background-color: #998139; }
<div style="background-color:#998139">Inner text</div>
This div background color is #998139.
.myBorderColor { border: 1px solid #998139; }
<div style="border:3px solid #998139">Div</div>
This div border color is #998139.
.myOpacity80 { color: #998139; opacity: 0.8; }
<p style="color:#998139;opacity:0.8;">80%</p>
Text with #998139 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998139;}
<p style="text-shadow: 3px 3px 1px #998139">Text here.</p>
This text has shadow with #998139 color.
.textShadow {text-shadow: 3px 3px 1px #998139, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998139, 5px 5px 20px red">Text here.</p>
This text has shadow with #998139 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998139, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998139, Direction=45, Strength=4)">Text</p>
This text has shadow with #998139 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998139; -webkit-box-shadow: 1px 1px 3px 2px #998139; box-shadow: 1px 1px 3px 2px #998139; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998139; -webkit-box-shadow: 1px 1px 3px 2px #998139; box-shadow:1px 1px 3px 2px #998139;">
Div content here</div>
This text has color #998139 on black background.
This text has color #998139 on white background.
This text has black color on #998139 background.
This text has white color on #998139 background.