HEX: #768074
RGB: (118,128,116)
#768074 contains red, green and blue colors in about the same proportion. Web safe color of #768074 is #666666 (or #666).
#768074 color RGB value is (118,128,116).
RGB: (118,128,116) (46%,50%,45%)
R 118 of 255 = 46%
G 128 of 255 = 50%
B 116 of 255 = 45%
R + G + B ~ 47%. #768074 is middle color (not dark and not light).
R + G + B =
118 + 128 + 116 = 362 (100%)
R 118 of 362 ~ 32.6%
G 128 of 362 ~ 35.36%
B 116 of 362 ~ 32.04%
#768074 color CMYK value is (8,0,9,50).
CMYK: (8,0,9,50) C8M0Y9K50 (8%,0%,9%,50%) (0.08/0.00/0.09/0.50)
76 | 80 | 74 | |
---|---|---|---|
RGB | 118 | 128 | 116 |
HSL | 110° | 4.92% | 47.84% |
HSB/HSV | 110° | 9.38% | 50.20% |
CMYK | 7.81% | 0.00% | 9.38% |
49.80% |
HEX | 76 | 80 | 74 |
Decimal | 118 | 128 | 116 |
Binary | 1110110 | 10000000 | 1110100 |
Octal | 166 | 200 | 164 |
Examples of css and html codes for elements with #768074 color. Also use rgb(118,128,116) instead hex code.
.myTextColor { color: #768074; }
<p style="color:#768074">This sample text font color is #768074.</p>
This text font color is #768074.
.myBgColor { background-color: #768074; }
<div style="background-color:#768074">Inner text</div>
This div background color is #768074.
.myBorderColor { border: 1px solid #768074; }
<div style="border:3px solid #768074">Div</div>
This div border color is #768074.
.myOpacity80 { color: #768074; opacity: 0.8; }
<p style="color:#768074;opacity:0.8;">80%</p>
Text with #768074 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #768074;}
<p style="text-shadow: 3px 3px 1px #768074">Text here.</p>
This text has shadow with #768074 color.
.textShadow {text-shadow: 3px 3px 1px #768074, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #768074, 5px 5px 20px red">Text here.</p>
This text has shadow with #768074 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#768074, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#768074, Direction=45, Strength=4)">Text</p>
This text has shadow with #768074 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #768074; -webkit-box-shadow: 1px 1px 3px 2px #768074; box-shadow: 1px 1px 3px 2px #768074; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #768074; -webkit-box-shadow: 1px 1px 3px 2px #768074; box-shadow:1px 1px 3px 2px #768074;">
Div content here</div>
This text has color #768074 on black background.
This text has color #768074 on white background.
This text has black color on #768074 background.
This text has white color on #768074 background.