HEX: #7E768B
RGB: (126,118,139)
#7E768B contains red, green and blue colors in about the same proportion. Web safe color of #7E768B is #666699 (or #669).
#7E768B color RGB value is (126,118,139).
RGB: (126,118,139) (49%,46%,55%)
R 126 of 255 = 49%
G 118 of 255 = 46%
B 139 of 255 = 55%
R + G + B ~ 50%. #7E768B is middle color (not dark and not light).
R + G + B =
126 + 118 + 139 = 383 (100%)
R 126 of 383 ~ 32.9%
G 118 of 383 ~ 30.81%
B 139 of 383 ~ 36.29%
#7E768B color CMYK value is (9,15,0,45).
CMYK: (9,15,0,45) C9M15Y0K45 (9%,15%,0%,45%) (0.09/0.15/0.00/0.45)
7E | 76 | 8B | |
---|---|---|---|
RGB | 126 | 118 | 139 |
HSL | 263° | 8.30% | 50.39% |
HSB/HSV | 263° | 15.11% | 54.51% |
CMYK | 9.35% | 15.11% | 0.00% |
45.49% |
HEX | 7E | 76 | 8B |
Decimal | 126 | 118 | 139 |
Binary | 1111110 | 1110110 | 10001011 |
Octal | 176 | 166 | 213 |
Examples of css and html codes for elements with #7E768B color. Also use rgb(126,118,139) instead hex code.
.myTextColor { color: #7E768B; }
<p style="color:#7E768B">This sample text font color is #7E768B.</p>
This text font color is #7E768B.
.myBgColor { background-color: #7E768B; }
<div style="background-color:#7E768B">Inner text</div>
This div background color is #7E768B.
.myBorderColor { border: 1px solid #7E768B; }
<div style="border:3px solid #7E768B">Div</div>
This div border color is #7E768B.
.myOpacity80 { color: #7E768B; opacity: 0.8; }
<p style="color:#7E768B;opacity:0.8;">80%</p>
Text with #7E768B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E768B;}
<p style="text-shadow: 3px 3px 1px #7E768B">Text here.</p>
This text has shadow with #7E768B color.
.textShadow {text-shadow: 3px 3px 1px #7E768B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E768B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E768B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E768B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E768B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E768B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E768B; -webkit-box-shadow: 1px 1px 3px 2px #7E768B; box-shadow: 1px 1px 3px 2px #7E768B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E768B; -webkit-box-shadow: 1px 1px 3px 2px #7E768B; box-shadow:1px 1px 3px 2px #7E768B;">
Div content here</div>
This text has color #7E768B on black background.
This text has color #7E768B on white background.
This text has black color on #7E768B background.
This text has white color on #7E768B background.