HEX: #988766
RGB: (152,135,102)
#988766 contains red, green and blue colors in about the same proportion. Web safe color of #988766 is #999966 (or #996).
#988766 color RGB value is (152,135,102).
RGB: (152,135,102) (60%,53%,40%)
R 152 of 255 = 60%
G 135 of 255 = 53%
B 102 of 255 = 40%
R + G + B ~ 51%. #988766 is middle color (not dark and not light).
R + G + B =
152 + 135 + 102 = 389 (100%)
R 152 of 389 ~ 39.07%
G 135 of 389 ~ 34.7%
B 102 of 389 ~ 26.22%
#988766 color CMYK value is (0,11,33,40).
CMYK: (0,11,33,40) C0M11Y33K40 (0%,11%,33%,40%) (0.00/0.11/0.33/0.40)
98 | 87 | 66 | |
---|---|---|---|
RGB | 152 | 135 | 102 |
HSL | 40° | 19.69% | 49.80% |
HSB/HSV | 40° | 32.89% | 59.61% |
CMYK | 0.00% | 11.18% | 32.89% |
40.39% |
HEX | 98 | 87 | 66 |
Decimal | 152 | 135 | 102 |
Binary | 10011000 | 10000111 | 1100110 |
Octal | 230 | 207 | 146 |
Examples of css and html codes for elements with #988766 color. Also use rgb(152,135,102) instead hex code.
.myTextColor { color: #988766; }
<p style="color:#988766">This sample text font color is #988766.</p>
This text font color is #988766.
.myBgColor { background-color: #988766; }
<div style="background-color:#988766">Inner text</div>
This div background color is #988766.
.myBorderColor { border: 1px solid #988766; }
<div style="border:3px solid #988766">Div</div>
This div border color is #988766.
.myOpacity80 { color: #988766; opacity: 0.8; }
<p style="color:#988766;opacity:0.8;">80%</p>
Text with #988766 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #988766;}
<p style="text-shadow: 3px 3px 1px #988766">Text here.</p>
This text has shadow with #988766 color.
.textShadow {text-shadow: 3px 3px 1px #988766, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #988766, 5px 5px 20px red">Text here.</p>
This text has shadow with #988766 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#988766, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#988766, Direction=45, Strength=4)">Text</p>
This text has shadow with #988766 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #988766; -webkit-box-shadow: 1px 1px 3px 2px #988766; box-shadow: 1px 1px 3px 2px #988766; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #988766; -webkit-box-shadow: 1px 1px 3px 2px #988766; box-shadow:1px 1px 3px 2px #988766;">
Div content here</div>
This text has color #988766 on black background.
This text has color #988766 on white background.
This text has black color on #988766 background.
This text has white color on #988766 background.