HEX: #766977
RGB: (118,105,119)
#766977 contains red, green and blue colors in about the same proportion. Web safe color of #766977 is #666666 (or #666).
#766977 color RGB value is (118,105,119).
RGB: (118,105,119) (46%,41%,47%)
R 118 of 255 = 46%
G 105 of 255 = 41%
B 119 of 255 = 47%
R + G + B ~ 45%. #766977 is middle color (not dark and not light).
R + G + B =
118 + 105 + 119 = 342 (100%)
R 118 of 342 ~ 34.5%
G 105 of 342 ~ 30.7%
B 119 of 342 ~ 34.8%
#766977 color CMYK value is (1,12,0,53).
CMYK: (1,12,0,53) C1M12Y0K53 (1%,12%,0%,53%) (0.01/0.12/0.00/0.53)
76 | 69 | 77 | |
---|---|---|---|
RGB | 118 | 105 | 119 |
HSL | 296° | 6.25% | 43.92% |
HSB/HSV | 296° | 11.76% | 46.67% |
CMYK | 0.84% | 11.76% | 0.00% |
53.33% |
HEX | 76 | 69 | 77 |
Decimal | 118 | 105 | 119 |
Binary | 1110110 | 1101001 | 1110111 |
Octal | 166 | 151 | 167 |
Examples of css and html codes for elements with #766977 color. Also use rgb(118,105,119) instead hex code.
.myTextColor { color: #766977; }
<p style="color:#766977">This sample text font color is #766977.</p>
This text font color is #766977.
.myBgColor { background-color: #766977; }
<div style="background-color:#766977">Inner text</div>
This div background color is #766977.
.myBorderColor { border: 1px solid #766977; }
<div style="border:3px solid #766977">Div</div>
This div border color is #766977.
.myOpacity80 { color: #766977; opacity: 0.8; }
<p style="color:#766977;opacity:0.8;">80%</p>
Text with #766977 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #766977;}
<p style="text-shadow: 3px 3px 1px #766977">Text here.</p>
This text has shadow with #766977 color.
.textShadow {text-shadow: 3px 3px 1px #766977, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #766977, 5px 5px 20px red">Text here.</p>
This text has shadow with #766977 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#766977, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#766977, Direction=45, Strength=4)">Text</p>
This text has shadow with #766977 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #766977; -webkit-box-shadow: 1px 1px 3px 2px #766977; box-shadow: 1px 1px 3px 2px #766977; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #766977; -webkit-box-shadow: 1px 1px 3px 2px #766977; box-shadow:1px 1px 3px 2px #766977;">
Div content here</div>
This text has color #766977 on black background.
This text has color #766977 on white background.
This text has black color on #766977 background.
This text has white color on #766977 background.