HEX: #998E48
RGB: (153,142,72)
#998E48 contains mainly red and green colors. Web safe color of #998E48 is #999933 (or #993).
#998E48 color RGB value is (153,142,72).
RGB: (153,142,72) (60%,56%,28%)
R 153 of 255 = 60%
G 142 of 255 = 56%
B 72 of 255 = 28%
R + G + B ~ 48%. #998E48 is middle color (not dark and not light).
R + G + B =
153 + 142 + 72 = 367 (100%)
R 153 of 367 ~ 41.69%
G 142 of 367 ~ 38.69%
B 72 of 367 ~ 19.62%
#998E48 color CMYK value is (0,7,53,40).
CMYK: (0,7,53,40) C0M7Y53K40 (0%,7%,53%,40%) (0.00/0.07/0.53/0.40)
99 | 8E | 48 | |
---|---|---|---|
RGB | 153 | 142 | 72 |
HSL | 52° | 36.00% | 44.12% |
HSB/HSV | 52° | 52.94% | 60.00% |
CMYK | 0.00% | 7.19% | 52.94% |
40.00% |
HEX | 99 | 8E | 48 |
Decimal | 153 | 142 | 72 |
Binary | 10011001 | 10001110 | 1001000 |
Octal | 231 | 216 | 110 |
Examples of css and html codes for elements with #998E48 color. Also use rgb(153,142,72) instead hex code.
.myTextColor { color: #998E48; }
<p style="color:#998E48">This sample text font color is #998E48.</p>
This text font color is #998E48.
.myBgColor { background-color: #998E48; }
<div style="background-color:#998E48">Inner text</div>
This div background color is #998E48.
.myBorderColor { border: 1px solid #998E48; }
<div style="border:3px solid #998E48">Div</div>
This div border color is #998E48.
.myOpacity80 { color: #998E48; opacity: 0.8; }
<p style="color:#998E48;opacity:0.8;">80%</p>
Text with #998E48 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998E48;}
<p style="text-shadow: 3px 3px 1px #998E48">Text here.</p>
This text has shadow with #998E48 color.
.textShadow {text-shadow: 3px 3px 1px #998E48, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998E48, 5px 5px 20px red">Text here.</p>
This text has shadow with #998E48 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998E48, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998E48, Direction=45, Strength=4)">Text</p>
This text has shadow with #998E48 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998E48; -webkit-box-shadow: 1px 1px 3px 2px #998E48; box-shadow: 1px 1px 3px 2px #998E48; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998E48; -webkit-box-shadow: 1px 1px 3px 2px #998E48; box-shadow:1px 1px 3px 2px #998E48;">
Div content here</div>
This text has color #998E48 on black background.
This text has color #998E48 on white background.
This text has black color on #998E48 background.
This text has white color on #998E48 background.