HEX: #998D14
RGB: (153,141,20)
#998D14 contains mainly red and green colors. Web safe color of #998D14 is #999900 (or #990).
#998D14 color RGB value is (153,141,20).
RGB: (153,141,20) (60%,55%,8%)
R 153 of 255 = 60%
G 141 of 255 = 55%
B 20 of 255 = 8%
R + G + B ~ 41%. #998D14 is middle color (not dark and not light).
R + G + B =
153 + 141 + 20 = 314 (100%)
R 153 of 314 ~ 48.73%
G 141 of 314 ~ 44.9%
B 20 of 314 ~ 6.37%
#998D14 color CMYK value is (0,8,87,40).
CMYK: (0,8,87,40) C0M8Y87K40 (0%,8%,87%,40%) (0.00/0.08/0.87/0.40)
99 | 8D | 14 | |
---|---|---|---|
RGB | 153 | 141 | 20 |
HSL | 55° | 76.88% | 33.92% |
HSB/HSV | 55° | 86.93% | 60.00% |
CMYK | 0.00% | 7.84% | 86.93% |
40.00% |
HEX | 99 | 8D | 14 |
Decimal | 153 | 141 | 20 |
Binary | 10011001 | 10001101 | 10100 |
Octal | 231 | 215 | 24 |
Examples of css and html codes for elements with #998D14 color. Also use rgb(153,141,20) instead hex code.
.myTextColor { color: #998D14; }
<p style="color:#998D14">This sample text font color is #998D14.</p>
This text font color is #998D14.
.myBgColor { background-color: #998D14; }
<div style="background-color:#998D14">Inner text</div>
This div background color is #998D14.
.myBorderColor { border: 1px solid #998D14; }
<div style="border:3px solid #998D14">Div</div>
This div border color is #998D14.
.myOpacity80 { color: #998D14; opacity: 0.8; }
<p style="color:#998D14;opacity:0.8;">80%</p>
Text with #998D14 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998D14;}
<p style="text-shadow: 3px 3px 1px #998D14">Text here.</p>
This text has shadow with #998D14 color.
.textShadow {text-shadow: 3px 3px 1px #998D14, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998D14, 5px 5px 20px red">Text here.</p>
This text has shadow with #998D14 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998D14, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998D14, Direction=45, Strength=4)">Text</p>
This text has shadow with #998D14 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998D14; -webkit-box-shadow: 1px 1px 3px 2px #998D14; box-shadow: 1px 1px 3px 2px #998D14; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998D14; -webkit-box-shadow: 1px 1px 3px 2px #998D14; box-shadow:1px 1px 3px 2px #998D14;">
Div content here</div>
This text has color #998D14 on black background.
This text has color #998D14 on white background.
This text has black color on #998D14 background.
This text has white color on #998D14 background.