HEX: #988204
RGB: (152,130,4)
#988204 contains mainly red and green colors. Web safe color of #988204 is #999900 (or #990).
#988204 color RGB value is (152,130,4).
RGB: (152,130,4) (60%,51%,2%)
R 152 of 255 = 60%
G 130 of 255 = 51%
B 4 of 255 = 2%
R + G + B ~ 38%. #988204 is quite dark color.
R + G + B =
152 + 130 + 4 = 286 (100%)
R 152 of 286 ~ 53.15%
G 130 of 286 ~ 45.45%
B 4 of 286 ~ 1.4%
#988204 color CMYK value is (0,14,97,40).
CMYK: (0,14,97,40) C0M14Y97K40 (0%,14%,97%,40%) (0.00/0.14/0.97/0.40)
98 | 82 | 04 | |
---|---|---|---|
RGB | 152 | 130 | 4 |
HSL | 51° | 94.87% | 30.59% |
HSB/HSV | 51° | 97.37% | 59.61% |
CMYK | 0.00% | 14.47% | 97.37% |
40.39% |
HEX | 98 | 82 | 04 |
Decimal | 152 | 130 | 4 |
Binary | 10011000 | 10000010 | 100 |
Octal | 230 | 202 | 4 |
Examples of css and html codes for elements with #988204 color. Also use rgb(152,130,4) instead hex code.
.myTextColor { color: #988204; }
<p style="color:#988204">This sample text font color is #988204.</p>
This text font color is #988204.
.myBgColor { background-color: #988204; }
<div style="background-color:#988204">Inner text</div>
This div background color is #988204.
.myBorderColor { border: 1px solid #988204; }
<div style="border:3px solid #988204">Div</div>
This div border color is #988204.
.myOpacity80 { color: #988204; opacity: 0.8; }
<p style="color:#988204;opacity:0.8;">80%</p>
Text with #988204 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988204;}
<p style="text-shadow: 3px 3px 1px #988204">Text here.</p>
This text has shadow with #988204 color.
.textShadow {text-shadow: 3px 3px 1px #988204, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988204, 5px 5px 20px red">Text here.</p>
This text has shadow with #988204 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988204, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988204, Direction=45, Strength=4)">Text</p>
This text has shadow with #988204 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988204; -webkit-box-shadow: 1px 1px 3px 2px #988204; box-shadow: 1px 1px 3px 2px #988204; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988204; -webkit-box-shadow: 1px 1px 3px 2px #988204; box-shadow:1px 1px 3px 2px #988204;">
Div content here</div>
This text has color #988204 on black background.
This text has color #988204 on white background.
This text has black color on #988204 background.
This text has white color on #988204 background.