HEX: #977380
RGB: (151,115,128)
#977380 contains red, green and blue colors in about the same proportion. Web safe color of #977380 is #996666 (or #966).
#977380 color RGB value is (151,115,128).
RGB: (151,115,128) (59%,45%,50%)
R 151 of 255 = 59%
G 115 of 255 = 45%
B 128 of 255 = 50%
R + G + B ~ 51%. #977380 is middle color (not dark and not light).
R + G + B =
151 + 115 + 128 = 394 (100%)
R 151 of 394 ~ 38.32%
G 115 of 394 ~ 29.19%
B 128 of 394 ~ 32.49%
#977380 color CMYK value is (0,24,15,41).
CMYK: (0,24,15,41) C0M24Y15K41 (0%,24%,15%,41%) (0.00/0.24/0.15/0.41)
97 | 73 | 80 | |
---|---|---|---|
RGB | 151 | 115 | 128 |
HSL | 338° | 14.75% | 52.16% |
HSB/HSV | 338° | 23.84% | 59.22% |
CMYK | 0.00% | 23.84% | 15.23% |
40.78% |
HEX | 97 | 73 | 80 |
Decimal | 151 | 115 | 128 |
Binary | 10010111 | 1110011 | 10000000 |
Octal | 227 | 163 | 200 |
Examples of css and html codes for elements with #977380 color. Also use rgb(151,115,128) instead hex code.
.myTextColor { color: #977380; }
<p style="color:#977380">This sample text font color is #977380.</p>
This text font color is #977380.
.myBgColor { background-color: #977380; }
<div style="background-color:#977380">Inner text</div>
This div background color is #977380.
.myBorderColor { border: 1px solid #977380; }
<div style="border:3px solid #977380">Div</div>
This div border color is #977380.
.myOpacity80 { color: #977380; opacity: 0.8; }
<p style="color:#977380;opacity:0.8;">80%</p>
Text with #977380 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #977380;}
<p style="text-shadow: 3px 3px 1px #977380">Text here.</p>
This text has shadow with #977380 color.
.textShadow {text-shadow: 3px 3px 1px #977380, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #977380, 5px 5px 20px red">Text here.</p>
This text has shadow with #977380 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#977380, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#977380, Direction=45, Strength=4)">Text</p>
This text has shadow with #977380 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #977380; -webkit-box-shadow: 1px 1px 3px 2px #977380; box-shadow: 1px 1px 3px 2px #977380; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #977380; -webkit-box-shadow: 1px 1px 3px 2px #977380; box-shadow:1px 1px 3px 2px #977380;">
Div content here</div>
This text has color #977380 on black background.
This text has color #977380 on white background.
This text has black color on #977380 background.
This text has white color on #977380 background.