HEX: #998A4A
RGB: (153,138,74)
#998A4A contains mainly red and green colors. Web safe color of #998A4A is #999933 (or #993).
#998A4A color RGB value is (153,138,74).
RGB: (153,138,74) (60%,54%,29%)
R 153 of 255 = 60%
G 138 of 255 = 54%
B 74 of 255 = 29%
R + G + B ~ 48%. #998A4A is middle color (not dark and not light).
R + G + B =
153 + 138 + 74 = 365 (100%)
R 153 of 365 ~ 41.92%
G 138 of 365 ~ 37.81%
B 74 of 365 ~ 20.27%
#998A4A color CMYK value is (0,10,52,40).
CMYK: (0,10,52,40) C0M10Y52K40 (0%,10%,52%,40%) (0.00/0.10/0.52/0.40)
99 | 8A | 4A | |
---|---|---|---|
RGB | 153 | 138 | 74 |
HSL | 49° | 34.80% | 44.51% |
HSB/HSV | 49° | 51.63% | 60.00% |
CMYK | 0.00% | 9.80% | 51.63% |
40.00% |
HEX | 99 | 8A | 4A |
Decimal | 153 | 138 | 74 |
Binary | 10011001 | 10001010 | 1001010 |
Octal | 231 | 212 | 112 |
Examples of css and html codes for elements with #998A4A color. Also use rgb(153,138,74) instead hex code.
.myTextColor { color: #998A4A; }
<p style="color:#998A4A">This sample text font color is #998A4A.</p>
This text font color is #998A4A.
.myBgColor { background-color: #998A4A; }
<div style="background-color:#998A4A">Inner text</div>
This div background color is #998A4A.
.myBorderColor { border: 1px solid #998A4A; }
<div style="border:3px solid #998A4A">Div</div>
This div border color is #998A4A.
.myOpacity80 { color: #998A4A; opacity: 0.8; }
<p style="color:#998A4A;opacity:0.8;">80%</p>
Text with #998A4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998A4A;}
<p style="text-shadow: 3px 3px 1px #998A4A">Text here.</p>
This text has shadow with #998A4A color.
.textShadow {text-shadow: 3px 3px 1px #998A4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998A4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #998A4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998A4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998A4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #998A4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998A4A; -webkit-box-shadow: 1px 1px 3px 2px #998A4A; box-shadow: 1px 1px 3px 2px #998A4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998A4A; -webkit-box-shadow: 1px 1px 3px 2px #998A4A; box-shadow:1px 1px 3px 2px #998A4A;">
Div content here</div>
This text has color #998A4A on black background.
This text has color #998A4A on white background.
This text has black color on #998A4A background.
This text has white color on #998A4A background.