HEX: #7E466B
RGB: (126,70,107)
#7E466B contains red, green and blue colors in about the same proportion. Web safe color of #7E466B is #663366 (or #636).
#7E466B color RGB value is (126,70,107).
RGB: (126,70,107) (49%,27%,42%)
R 126 of 255 = 49%
G 70 of 255 = 27%
B 107 of 255 = 42%
R + G + B ~ 39%. #7E466B is quite dark color.
R + G + B =
126 + 70 + 107 = 303 (100%)
R 126 of 303 ~ 41.58%
G 70 of 303 ~ 23.1%
B 107 of 303 ~ 35.31%
#7E466B color CMYK value is (0,44,15,51).
CMYK: (0,44,15,51) C0M44Y15K51 (0%,44%,15%,51%) (0.00/0.44/0.15/0.51)
7E | 46 | 6B | |
---|---|---|---|
RGB | 126 | 70 | 107 |
HSL | 320° | 28.57% | 38.43% |
HSB/HSV | 320° | 44.44% | 49.41% |
CMYK | 0.00% | 44.44% | 15.08% |
50.59% |
HEX | 7E | 46 | 6B |
Decimal | 126 | 70 | 107 |
Binary | 1111110 | 1000110 | 1101011 |
Octal | 176 | 106 | 153 |
Examples of css and html codes for elements with #7E466B color. Also use rgb(126,70,107) instead hex code.
.myTextColor { color: #7E466B; }
<p style="color:#7E466B">This sample text font color is #7E466B.</p>
This text font color is #7E466B.
.myBgColor { background-color: #7E466B; }
<div style="background-color:#7E466B">Inner text</div>
This div background color is #7E466B.
.myBorderColor { border: 1px solid #7E466B; }
<div style="border:3px solid #7E466B">Div</div>
This div border color is #7E466B.
.myOpacity80 { color: #7E466B; opacity: 0.8; }
<p style="color:#7E466B;opacity:0.8;">80%</p>
Text with #7E466B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E466B;}
<p style="text-shadow: 3px 3px 1px #7E466B">Text here.</p>
This text has shadow with #7E466B color.
.textShadow {text-shadow: 3px 3px 1px #7E466B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E466B, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E466B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E466B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E466B, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E466B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E466B; -webkit-box-shadow: 1px 1px 3px 2px #7E466B; box-shadow: 1px 1px 3px 2px #7E466B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E466B; -webkit-box-shadow: 1px 1px 3px 2px #7E466B; box-shadow:1px 1px 3px 2px #7E466B;">
Div content here</div>
This text has color #7E466B on black background.
This text has color #7E466B on white background.
This text has black color on #7E466B background.
This text has white color on #7E466B background.