HEX: #7E4A4F
RGB: (126,74,79)
#7E4A4F contains red, green and blue colors in about the same proportion. Web safe color of #7E4A4F is #663366 (or #636).
#7E4A4F color RGB value is (126,74,79).
RGB: (126,74,79) (49%,29%,31%)
R 126 of 255 = 49%
G 74 of 255 = 29%
B 79 of 255 = 31%
R + G + B ~ 36%. #7E4A4F is quite dark color.
R + G + B =
126 + 74 + 79 = 279 (100%)
R 126 of 279 ~ 45.16%
G 74 of 279 ~ 26.52%
B 79 of 279 ~ 28.32%
#7E4A4F color CMYK value is (0,41,37,51).
CMYK: (0,41,37,51) C0M41Y37K51 (0%,41%,37%,51%) (0.00/0.41/0.37/0.51)
7E | 4A | 4F | |
---|---|---|---|
RGB | 126 | 74 | 79 |
HSL | 354° | 26.00% | 39.22% |
HSB/HSV | 354° | 41.27% | 49.41% |
CMYK | 0.00% | 41.27% | 37.30% |
50.59% |
HEX | 7E | 4A | 4F |
Decimal | 126 | 74 | 79 |
Binary | 1111110 | 1001010 | 1001111 |
Octal | 176 | 112 | 117 |
Examples of css and html codes for elements with #7E4A4F color. Also use rgb(126,74,79) instead hex code.
.myTextColor { color: #7E4A4F; }
<p style="color:#7E4A4F">This sample text font color is #7E4A4F.</p>
This text font color is #7E4A4F.
.myBgColor { background-color: #7E4A4F; }
<div style="background-color:#7E4A4F">Inner text</div>
This div background color is #7E4A4F.
.myBorderColor { border: 1px solid #7E4A4F; }
<div style="border:3px solid #7E4A4F">Div</div>
This div border color is #7E4A4F.
.myOpacity80 { color: #7E4A4F; opacity: 0.8; }
<p style="color:#7E4A4F;opacity:0.8;">80%</p>
Text with #7E4A4F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #7E4A4F;}
<p style="text-shadow: 3px 3px 1px #7E4A4F">Text here.</p>
This text has shadow with #7E4A4F color.
.textShadow {text-shadow: 3px 3px 1px #7E4A4F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #7E4A4F, 5px 5px 20px red">Text here.</p>
This text has shadow with #7E4A4F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7E4A4F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#7E4A4F, Direction=45, Strength=4)">Text</p>
This text has shadow with #7E4A4F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #7E4A4F; -webkit-box-shadow: 1px 1px 3px 2px #7E4A4F; box-shadow: 1px 1px 3px 2px #7E4A4F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #7E4A4F; -webkit-box-shadow: 1px 1px 3px 2px #7E4A4F; box-shadow:1px 1px 3px 2px #7E4A4F;">
Div content here</div>
This text has color #7E4A4F on black background.
This text has color #7E4A4F on white background.
This text has black color on #7E4A4F background.
This text has white color on #7E4A4F background.