HEX: #998009
RGB: (153,128,9)
#998009 contains mainly red and green colors. Web safe color of #998009 is #996600 (or #960).
#998009 color RGB value is (153,128,9).
RGB: (153,128,9) (60%,50%,4%)
R 153 of 255 = 60%
G 128 of 255 = 50%
B 9 of 255 = 4%
R + G + B ~ 38%. #998009 is quite dark color.
R + G + B =
153 + 128 + 9 = 290 (100%)
R 153 of 290 ~ 52.76%
G 128 of 290 ~ 44.14%
B 9 of 290 ~ 3.1%
#998009 color CMYK value is (0,16,94,40).
CMYK: (0,16,94,40) C0M16Y94K40 (0%,16%,94%,40%) (0.00/0.16/0.94/0.40)
99 | 80 | 09 | |
---|---|---|---|
RGB | 153 | 128 | 9 |
HSL | 50° | 88.89% | 31.76% |
HSB/HSV | 50° | 94.12% | 60.00% |
CMYK | 0.00% | 16.34% | 94.12% |
40.00% |
HEX | 99 | 80 | 09 |
Decimal | 153 | 128 | 9 |
Binary | 10011001 | 10000000 | 1001 |
Octal | 231 | 200 | 11 |
Examples of css and html codes for elements with #998009 color. Also use rgb(153,128,9) instead hex code.
.myTextColor { color: #998009; }
<p style="color:#998009">This sample text font color is #998009.</p>
This text font color is #998009.
.myBgColor { background-color: #998009; }
<div style="background-color:#998009">Inner text</div>
This div background color is #998009.
.myBorderColor { border: 1px solid #998009; }
<div style="border:3px solid #998009">Div</div>
This div border color is #998009.
.myOpacity80 { color: #998009; opacity: 0.8; }
<p style="color:#998009;opacity:0.8;">80%</p>
Text with #998009 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998009;}
<p style="text-shadow: 3px 3px 1px #998009">Text here.</p>
This text has shadow with #998009 color.
.textShadow {text-shadow: 3px 3px 1px #998009, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998009, 5px 5px 20px red">Text here.</p>
This text has shadow with #998009 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998009, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998009, Direction=45, Strength=4)">Text</p>
This text has shadow with #998009 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998009; -webkit-box-shadow: 1px 1px 3px 2px #998009; box-shadow: 1px 1px 3px 2px #998009; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998009; -webkit-box-shadow: 1px 1px 3px 2px #998009; box-shadow:1px 1px 3px 2px #998009;">
Div content here</div>
This text has color #998009 on black background.
This text has color #998009 on white background.
This text has black color on #998009 background.
This text has white color on #998009 background.