HEX: #7E4750
RGB: (126,71,80)
#7E4750 contains red, green and blue colors in about the same proportion. Web safe color of #7E4750 is #663366 (or #636).
#7E4750 color RGB value is (126,71,80).
RGB: (126,71,80) (49%,28%,31%)
R 126 of 255 = 49%
G 71 of 255 = 28%
B 80 of 255 = 31%
R + G + B ~ 36%. #7E4750 is quite dark color.
R + G + B =
126 + 71 + 80 = 277 (100%)
R 126 of 277 ~ 45.49%
G 71 of 277 ~ 25.63%
B 80 of 277 ~ 28.88%
#7E4750 color CMYK value is (0,44,37,51).
CMYK: (0,44,37,51) C0M44Y37K51 (0%,44%,37%,51%) (0.00/0.44/0.37/0.51)
7E | 47 | 50 | |
---|---|---|---|
RGB | 126 | 71 | 80 |
HSL | 350° | 27.92% | 38.63% |
HSB/HSV | 350° | 43.65% | 49.41% |
CMYK | 0.00% | 43.65% | 36.51% |
50.59% |
HEX | 7E | 47 | 50 |
Decimal | 126 | 71 | 80 |
Binary | 1111110 | 1000111 | 1010000 |
Octal | 176 | 107 | 120 |
Examples of css and html codes for elements with #7E4750 color. Also use rgb(126,71,80) instead hex code.
.myTextColor { color: #7E4750; }
<p style="color:#7E4750">This sample text font color is #7E4750.</p>
This text font color is #7E4750.
.myBgColor { background-color: #7E4750; }
<div style="background-color:#7E4750">Inner text</div>
This div background color is #7E4750.
.myBorderColor { border: 1px solid #7E4750; }
<div style="border:3px solid #7E4750">Div</div>
This div border color is #7E4750.
.myOpacity80 { color: #7E4750; opacity: 0.8; }
<p style="color:#7E4750;opacity:0.8;">80%</p>
Text with #7E4750 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E4750;}
<p style="text-shadow: 3px 3px 1px #7E4750">Text here.</p>
This text has shadow with #7E4750 color.
.textShadow {text-shadow: 3px 3px 1px #7E4750, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E4750, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E4750 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E4750, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E4750, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E4750 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E4750; -webkit-box-shadow: 1px 1px 3px 2px #7E4750; box-shadow: 1px 1px 3px 2px #7E4750; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E4750; -webkit-box-shadow: 1px 1px 3px 2px #7E4750; box-shadow:1px 1px 3px 2px #7E4750;">
Div content here</div>
This text has color #7E4750 on black background.
This text has color #7E4750 on white background.
This text has black color on #7E4750 background.
This text has white color on #7E4750 background.