HEX: #4D4710
RGB: (77,71,16)
#4D4710 contains mainly red and green colors. Web safe color of #4D4710 is #333300 (or #330).
#4D4710 color RGB value is (77,71,16).
RGB: (77,71,16) (30%,28%,6%)
R 77 of 255 = 30%
G 71 of 255 = 28%
B 16 of 255 = 6%
R + G + B ~ 21%. #4D4710 is dark color.
R + G + B =
77 + 71 + 16 = 164 (100%)
R 77 of 164 ~ 46.95%
G 71 of 164 ~ 43.29%
B 16 of 164 ~ 9.76%
#4D4710 color CMYK value is (0,8,79,70).
CMYK: (0,8,79,70) C0M8Y79K70 (0%,8%,79%,70%) (0.00/0.08/0.79/0.70)
4D | 47 | 10 | |
---|---|---|---|
RGB | 77 | 71 | 16 |
HSL | 54° | 65.59% | 18.24% |
HSB/HSV | 54° | 79.22% | 30.20% |
CMYK | 0.00% | 7.79% | 79.22% |
69.80% |
HEX | 4D | 47 | 10 |
Decimal | 77 | 71 | 16 |
Binary | 1001101 | 1000111 | 10000 |
Octal | 115 | 107 | 20 |
Examples of css and html codes for elements with #4D4710 color. Also use rgb(77,71,16) instead hex code.
.myTextColor { color: #4D4710; }
<p style="color:#4D4710">This sample text font color is #4D4710.</p>
This text font color is #4D4710.
.myBgColor { background-color: #4D4710; }
<div style="background-color:#4D4710">Inner text</div>
This div background color is #4D4710.
.myBorderColor { border: 1px solid #4D4710; }
<div style="border:3px solid #4D4710">Div</div>
This div border color is #4D4710.
.myOpacity80 { color: #4D4710; opacity: 0.8; }
<p style="color:#4D4710;opacity:0.8;">80%</p>
Text with #4D4710 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D4710;}
<p style="text-shadow: 3px 3px 1px #4D4710">Text here.</p>
This text has shadow with #4D4710 color.
.textShadow {text-shadow: 3px 3px 1px #4D4710, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D4710, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D4710 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D4710, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D4710, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D4710 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D4710; -webkit-box-shadow: 1px 1px 3px 2px #4D4710; box-shadow: 1px 1px 3px 2px #4D4710; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D4710; -webkit-box-shadow: 1px 1px 3px 2px #4D4710; box-shadow:1px 1px 3px 2px #4D4710;">
Div content here</div>
This text has color #4D4710 on black background.
This text has color #4D4710 on white background.
This text has black color on #4D4710 background.
This text has white color on #4D4710 background.