HEX: #4D5442
RGB: (77,84,66)
#4D5442 contains red, green and blue colors in about the same proportion. Web safe color of #4D5442 is #336633 (or #363).
#4D5442 color RGB value is (77,84,66).
RGB: (77,84,66) (30%,33%,26%)
R 77 of 255 = 30%
G 84 of 255 = 33%
B 66 of 255 = 26%
R + G + B ~ 30%. #4D5442 is quite dark color.
R + G + B =
77 + 84 + 66 = 227 (100%)
R 77 of 227 ~ 33.92%
G 84 of 227 ~ 37%
B 66 of 227 ~ 29.07%
#4D5442 color CMYK value is (8,0,21,67).
CMYK: (8,0,21,67) C8M0Y21K67 (8%,0%,21%,67%) (0.08/0.00/0.21/0.67)
4D | 54 | 42 | |
---|---|---|---|
RGB | 77 | 84 | 66 |
HSL | 83° | 12.00% | 29.41% |
HSB/HSV | 83° | 21.43% | 32.94% |
CMYK | 8.33% | 0.00% | 21.43% |
67.06% |
HEX | 4D | 54 | 42 |
Decimal | 77 | 84 | 66 |
Binary | 1001101 | 1010100 | 1000010 |
Octal | 115 | 124 | 102 |
Examples of css and html codes for elements with #4D5442 color. Also use rgb(77,84,66) instead hex code.
.myTextColor { color: #4D5442; }
<p style="color:#4D5442">This sample text font color is #4D5442.</p>
This text font color is #4D5442.
.myBgColor { background-color: #4D5442; }
<div style="background-color:#4D5442">Inner text</div>
This div background color is #4D5442.
.myBorderColor { border: 1px solid #4D5442; }
<div style="border:3px solid #4D5442">Div</div>
This div border color is #4D5442.
.myOpacity80 { color: #4D5442; opacity: 0.8; }
<p style="color:#4D5442;opacity:0.8;">80%</p>
Text with #4D5442 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D5442;}
<p style="text-shadow: 3px 3px 1px #4D5442">Text here.</p>
This text has shadow with #4D5442 color.
.textShadow {text-shadow: 3px 3px 1px #4D5442, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D5442, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D5442 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D5442, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D5442, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D5442 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D5442; -webkit-box-shadow: 1px 1px 3px 2px #4D5442; box-shadow: 1px 1px 3px 2px #4D5442; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D5442; -webkit-box-shadow: 1px 1px 3px 2px #4D5442; box-shadow:1px 1px 3px 2px #4D5442;">
Div content here</div>
This text has color #4D5442 on black background.
This text has color #4D5442 on white background.
This text has black color on #4D5442 background.
This text has white color on #4D5442 background.