HEX: #976C6C
RGB: (151,108,108)
#976C6C contains red, green and blue colors in about the same proportion. Web safe color of #976C6C is #996666 (or #966).
#976C6C color RGB value is (151,108,108).
RGB: (151,108,108) (59%,42%,42%)
R 151 of 255 = 59%
G 108 of 255 = 42%
B 108 of 255 = 42%
R + G + B ~ 48%. #976C6C is middle color (not dark and not light).
R + G + B =
151 + 108 + 108 = 367 (100%)
R 151 of 367 ~ 41.14%
G 108 of 367 ~ 29.43%
B 108 of 367 ~ 29.43%
#976C6C color CMYK value is (0,28,28,41).
CMYK: (0,28,28,41) C0M28Y28K41 (0%,28%,28%,41%) (0.00/0.28/0.28/0.41)
97 | 6C | 6C | |
---|---|---|---|
RGB | 151 | 108 | 108 |
HSL | 0° | 17.13% | 50.78% |
HSB/HSV | 0° | 28.48% | 59.22% |
CMYK | 0.00% | 28.48% | 28.48% |
40.78% |
HEX | 97 | 6C | 6C |
Decimal | 151 | 108 | 108 |
Binary | 10010111 | 1101100 | 1101100 |
Octal | 227 | 154 | 154 |
Examples of css and html codes for elements with #976C6C color. Also use rgb(151,108,108) instead hex code.
.myTextColor { color: #976C6C; }
<p style="color:#976C6C">This sample text font color is #976C6C.</p>
This text font color is #976C6C.
.myBgColor { background-color: #976C6C; }
<div style="background-color:#976C6C">Inner text</div>
This div background color is #976C6C.
.myBorderColor { border: 1px solid #976C6C; }
<div style="border:3px solid #976C6C">Div</div>
This div border color is #976C6C.
.myOpacity80 { color: #976C6C; opacity: 0.8; }
<p style="color:#976C6C;opacity:0.8;">80%</p>
Text with #976C6C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976C6C;}
<p style="text-shadow: 3px 3px 1px #976C6C">Text here.</p>
This text has shadow with #976C6C color.
.textShadow {text-shadow: 3px 3px 1px #976C6C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976C6C, 5px 5px 20px red">Text here.</p>
This text has shadow with #976C6C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976C6C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976C6C, Direction=45, Strength=4)">Text</p>
This text has shadow with #976C6C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976C6C; -webkit-box-shadow: 1px 1px 3px 2px #976C6C; box-shadow: 1px 1px 3px 2px #976C6C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976C6C; -webkit-box-shadow: 1px 1px 3px 2px #976C6C; box-shadow:1px 1px 3px 2px #976C6C;">
Div content here</div>
This text has color #976C6C on black background.
This text has color #976C6C on white background.
This text has black color on #976C6C background.
This text has white color on #976C6C background.