HEX: #998F7C
RGB: (153,143,124)
#998F7C contains red, green and blue colors in about the same proportion. Web safe color of #998F7C is #999966 (or #996).
#998F7C color RGB value is (153,143,124).
RGB: (153,143,124) (60%,56%,49%)
R 153 of 255 = 60%
G 143 of 255 = 56%
B 124 of 255 = 49%
R + G + B ~ 55%. #998F7C is middle color (not dark and not light).
R + G + B =
153 + 143 + 124 = 420 (100%)
R 153 of 420 ~ 36.43%
G 143 of 420 ~ 34.05%
B 124 of 420 ~ 29.52%
#998F7C color CMYK value is (0,7,19,40).
CMYK: (0,7,19,40) C0M7Y19K40 (0%,7%,19%,40%) (0.00/0.07/0.19/0.40)
99 | 8F | 7C | |
---|---|---|---|
RGB | 153 | 143 | 124 |
HSL | 39° | 12.45% | 54.31% |
HSB/HSV | 39° | 18.95% | 60.00% |
CMYK | 0.00% | 6.54% | 18.95% |
40.00% |
HEX | 99 | 8F | 7C |
Decimal | 153 | 143 | 124 |
Binary | 10011001 | 10001111 | 1111100 |
Octal | 231 | 217 | 174 |
Examples of css and html codes for elements with #998F7C color. Also use rgb(153,143,124) instead hex code.
.myTextColor { color: #998F7C; }
<p style="color:#998F7C">This sample text font color is #998F7C.</p>
This text font color is #998F7C.
.myBgColor { background-color: #998F7C; }
<div style="background-color:#998F7C">Inner text</div>
This div background color is #998F7C.
.myBorderColor { border: 1px solid #998F7C; }
<div style="border:3px solid #998F7C">Div</div>
This div border color is #998F7C.
.myOpacity80 { color: #998F7C; opacity: 0.8; }
<p style="color:#998F7C;opacity:0.8;">80%</p>
Text with #998F7C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #998F7C;}
<p style="text-shadow: 3px 3px 1px #998F7C">Text here.</p>
This text has shadow with #998F7C color.
.textShadow {text-shadow: 3px 3px 1px #998F7C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #998F7C, 5px 5px 20px red">Text here.</p>
This text has shadow with #998F7C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#998F7C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#998F7C, Direction=45, Strength=4)">Text</p>
This text has shadow with #998F7C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #998F7C; -webkit-box-shadow: 1px 1px 3px 2px #998F7C; box-shadow: 1px 1px 3px 2px #998F7C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #998F7C; -webkit-box-shadow: 1px 1px 3px 2px #998F7C; box-shadow:1px 1px 3px 2px #998F7C;">
Div content here</div>
This text has color #998F7C on black background.
This text has color #998F7C on white background.
This text has black color on #998F7C background.
This text has white color on #998F7C background.