HEX: #6D7E34
RGB: (109,126,52)
#6D7E34 contains mainly red and green colors. Web safe color of #6D7E34 is #666633 (or #663).
#6D7E34 color RGB value is (109,126,52).
RGB: (109,126,52) (43%,49%,20%)
R 109 of 255 = 43%
G 126 of 255 = 49%
B 52 of 255 = 20%
R + G + B ~ 37%. #6D7E34 is quite dark color.
R + G + B =
109 + 126 + 52 = 287 (100%)
R 109 of 287 ~ 37.98%
G 126 of 287 ~ 43.9%
B 52 of 287 ~ 18.12%
#6D7E34 color CMYK value is (13,0,59,51).
CMYK: (13,0,59,51) C13M0Y59K51 (13%,0%,59%,51%) (0.13/0.00/0.59/0.51)
6D | 7E | 34 | |
---|---|---|---|
RGB | 109 | 126 | 52 |
HSL | 74° | 41.57% | 34.90% |
HSB/HSV | 74° | 58.73% | 49.41% |
CMYK | 13.49% | 0.00% | 58.73% |
50.59% |
HEX | 6D | 7E | 34 |
Decimal | 109 | 126 | 52 |
Binary | 1101101 | 1111110 | 110100 |
Octal | 155 | 176 | 64 |
Examples of css and html codes for elements with #6D7E34 color. Also use rgb(109,126,52) instead hex code.
.myTextColor { color: #6D7E34; }
<p style="color:#6D7E34">This sample text font color is #6D7E34.</p>
This text font color is #6D7E34.
.myBgColor { background-color: #6D7E34; }
<div style="background-color:#6D7E34">Inner text</div>
This div background color is #6D7E34.
.myBorderColor { border: 1px solid #6D7E34; }
<div style="border:3px solid #6D7E34">Div</div>
This div border color is #6D7E34.
.myOpacity80 { color: #6D7E34; opacity: 0.8; }
<p style="color:#6D7E34;opacity:0.8;">80%</p>
Text with #6D7E34 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D7E34;}
<p style="text-shadow: 3px 3px 1px #6D7E34">Text here.</p>
This text has shadow with #6D7E34 color.
.textShadow {text-shadow: 3px 3px 1px #6D7E34, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D7E34, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D7E34 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D7E34, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D7E34, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D7E34 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D7E34; -webkit-box-shadow: 1px 1px 3px 2px #6D7E34; box-shadow: 1px 1px 3px 2px #6D7E34; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D7E34; -webkit-box-shadow: 1px 1px 3px 2px #6D7E34; box-shadow:1px 1px 3px 2px #6D7E34;">
Div content here</div>
This text has color #6D7E34 on black background.
This text has color #6D7E34 on white background.
This text has black color on #6D7E34 background.
This text has white color on #6D7E34 background.