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