HEX: #976271
RGB: (151,98,113)
#976271 contains red, green and blue colors in about the same proportion. Web safe color of #976271 is #996666 (or #966).
#976271 color RGB value is (151,98,113).
RGB: (151,98,113) (59%,38%,44%)
R 151 of 255 = 59%
G 98 of 255 = 38%
B 113 of 255 = 44%
R + G + B ~ 47%. #976271 is middle color (not dark and not light).
R + G + B =
151 + 98 + 113 = 362 (100%)
R 151 of 362 ~ 41.71%
G 98 of 362 ~ 27.07%
B 113 of 362 ~ 31.22%
#976271 color CMYK value is (0,35,25,41).
CMYK: (0,35,25,41) C0M35Y25K41 (0%,35%,25%,41%) (0.00/0.35/0.25/0.41)
97 | 62 | 71 | |
---|---|---|---|
RGB | 151 | 98 | 113 |
HSL | 343° | 21.29% | 48.82% |
HSB/HSV | 343° | 35.10% | 59.22% |
CMYK | 0.00% | 35.10% | 25.17% |
40.78% |
HEX | 97 | 62 | 71 |
Decimal | 151 | 98 | 113 |
Binary | 10010111 | 1100010 | 1110001 |
Octal | 227 | 142 | 161 |
Examples of css and html codes for elements with #976271 color. Also use rgb(151,98,113) instead hex code.
.myTextColor { color: #976271; }
<p style="color:#976271">This sample text font color is #976271.</p>
This text font color is #976271.
.myBgColor { background-color: #976271; }
<div style="background-color:#976271">Inner text</div>
This div background color is #976271.
.myBorderColor { border: 1px solid #976271; }
<div style="border:3px solid #976271">Div</div>
This div border color is #976271.
.myOpacity80 { color: #976271; opacity: 0.8; }
<p style="color:#976271;opacity:0.8;">80%</p>
Text with #976271 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #976271;}
<p style="text-shadow: 3px 3px 1px #976271">Text here.</p>
This text has shadow with #976271 color.
.textShadow {text-shadow: 3px 3px 1px #976271, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #976271, 5px 5px 20px red">Text here.</p>
This text has shadow with #976271 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#976271, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#976271, Direction=45, Strength=4)">Text</p>
This text has shadow with #976271 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #976271; -webkit-box-shadow: 1px 1px 3px 2px #976271; box-shadow: 1px 1px 3px 2px #976271; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #976271; -webkit-box-shadow: 1px 1px 3px 2px #976271; box-shadow:1px 1px 3px 2px #976271;">
Div content here</div>
This text has color #976271 on black background.
This text has color #976271 on white background.
This text has black color on #976271 background.
This text has white color on #976271 background.