HEX: #7E506D
RGB: (126,80,109)
#7E506D contains red, green and blue colors in about the same proportion. Web safe color of #7E506D is #666666 (or #666).
#7E506D color RGB value is (126,80,109).
RGB: (126,80,109) (49%,31%,43%)
R 126 of 255 = 49%
G 80 of 255 = 31%
B 109 of 255 = 43%
R + G + B ~ 41%. #7E506D is middle color (not dark and not light).
R + G + B =
126 + 80 + 109 = 315 (100%)
R 126 of 315 ~ 40%
G 80 of 315 ~ 25.4%
B 109 of 315 ~ 34.6%
#7E506D color CMYK value is (0,37,13,51).
CMYK: (0,37,13,51) C0M37Y13K51 (0%,37%,13%,51%) (0.00/0.37/0.13/0.51)
7E | 50 | 6D | |
---|---|---|---|
RGB | 126 | 80 | 109 |
HSL | 322° | 22.33% | 40.39% |
HSB/HSV | 322° | 36.51% | 49.41% |
CMYK | 0.00% | 36.51% | 13.49% |
50.59% |
HEX | 7E | 50 | 6D |
Decimal | 126 | 80 | 109 |
Binary | 1111110 | 1010000 | 1101101 |
Octal | 176 | 120 | 155 |
Examples of css and html codes for elements with #7E506D color. Also use rgb(126,80,109) instead hex code.
.myTextColor { color: #7E506D; }
<p style="color:#7E506D">This sample text font color is #7E506D.</p>
This text font color is #7E506D.
.myBgColor { background-color: #7E506D; }
<div style="background-color:#7E506D">Inner text</div>
This div background color is #7E506D.
.myBorderColor { border: 1px solid #7E506D; }
<div style="border:3px solid #7E506D">Div</div>
This div border color is #7E506D.
.myOpacity80 { color: #7E506D; opacity: 0.8; }
<p style="color:#7E506D;opacity:0.8;">80%</p>
Text with #7E506D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E506D;}
<p style="text-shadow: 3px 3px 1px #7E506D">Text here.</p>
This text has shadow with #7E506D color.
.textShadow {text-shadow: 3px 3px 1px #7E506D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E506D, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E506D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E506D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E506D, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E506D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E506D; -webkit-box-shadow: 1px 1px 3px 2px #7E506D; box-shadow: 1px 1px 3px 2px #7E506D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E506D; -webkit-box-shadow: 1px 1px 3px 2px #7E506D; box-shadow:1px 1px 3px 2px #7E506D;">
Div content here</div>
This text has color #7E506D on black background.
This text has color #7E506D on white background.
This text has black color on #7E506D background.
This text has white color on #7E506D background.