HEX: #766B7F
RGB: (118,107,127)
#766B7F contains red, green and blue colors in about the same proportion. Web safe color of #766B7F is #666666 (or #666).
#766B7F color RGB value is (118,107,127).
RGB: (118,107,127) (46%,42%,50%)
R 118 of 255 = 46%
G 107 of 255 = 42%
B 127 of 255 = 50%
R + G + B ~ 46%. #766B7F is middle color (not dark and not light).
R + G + B =
118 + 107 + 127 = 352 (100%)
R 118 of 352 ~ 33.52%
G 107 of 352 ~ 30.4%
B 127 of 352 ~ 36.08%
#766B7F color CMYK value is (7,16,0,50).
CMYK: (7,16,0,50) C7M16Y0K50 (7%,16%,0%,50%) (0.07/0.16/0.00/0.50)
76 | 6B | 7F | |
---|---|---|---|
RGB | 118 | 107 | 127 |
HSL | 273° | 8.55% | 45.88% |
HSB/HSV | 273° | 15.75% | 49.80% |
CMYK | 7.09% | 15.75% | 0.00% |
50.20% |
HEX | 76 | 6B | 7F |
Decimal | 118 | 107 | 127 |
Binary | 1110110 | 1101011 | 1111111 |
Octal | 166 | 153 | 177 |
Examples of css and html codes for elements with #766B7F color. Also use rgb(118,107,127) instead hex code.
.myTextColor { color: #766B7F; }
<p style="color:#766B7F">This sample text font color is #766B7F.</p>
This text font color is #766B7F.
.myBgColor { background-color: #766B7F; }
<div style="background-color:#766B7F">Inner text</div>
This div background color is #766B7F.
.myBorderColor { border: 1px solid #766B7F; }
<div style="border:3px solid #766B7F">Div</div>
This div border color is #766B7F.
.myOpacity80 { color: #766B7F; opacity: 0.8; }
<p style="color:#766B7F;opacity:0.8;">80%</p>
Text with #766B7F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #766B7F;}
<p style="text-shadow: 3px 3px 1px #766B7F">Text here.</p>
This text has shadow with #766B7F color.
.textShadow {text-shadow: 3px 3px 1px #766B7F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #766B7F, 5px 5px 20px red">Text here.</p>
This text has shadow with #766B7F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#766B7F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#766B7F, Direction=45, Strength=4)">Text</p>
This text has shadow with #766B7F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #766B7F; -webkit-box-shadow: 1px 1px 3px 2px #766B7F; box-shadow: 1px 1px 3px 2px #766B7F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #766B7F; -webkit-box-shadow: 1px 1px 3px 2px #766B7F; box-shadow:1px 1px 3px 2px #766B7F;">
Div content here</div>
This text has color #766B7F on black background.
This text has color #766B7F on white background.
This text has black color on #766B7F background.
This text has white color on #766B7F background.