HEX: #6D8156
RGB: (109,129,86)
#6D8156 contains red, green and blue colors in about the same proportion. Web safe color of #6D8156 is #669966 (or #696).
#6D8156 color RGB value is (109,129,86).
RGB: (109,129,86) (43%,51%,34%)
R 109 of 255 = 43%
G 129 of 255 = 51%
B 86 of 255 = 34%
R + G + B ~ 43%. #6D8156 is middle color (not dark and not light).
R + G + B =
109 + 129 + 86 = 324 (100%)
R 109 of 324 ~ 33.64%
G 129 of 324 ~ 39.81%
B 86 of 324 ~ 26.54%
#6D8156 color CMYK value is (16,0,33,49).
CMYK: (16,0,33,49) C16M0Y33K49 (16%,0%,33%,49%) (0.16/0.00/0.33/0.49)
6D | 81 | 56 | |
---|---|---|---|
RGB | 109 | 129 | 86 |
HSL | 88° | 20.00% | 42.16% |
HSB/HSV | 88° | 33.33% | 50.59% |
CMYK | 15.50% | 0.00% | 33.33% |
49.41% |
HEX | 6D | 81 | 56 |
Decimal | 109 | 129 | 86 |
Binary | 1101101 | 10000001 | 1010110 |
Octal | 155 | 201 | 126 |
Examples of css and html codes for elements with #6D8156 color. Also use rgb(109,129,86) instead hex code.
.myTextColor { color: #6D8156; }
<p style="color:#6D8156">This sample text font color is #6D8156.</p>
This text font color is #6D8156.
.myBgColor { background-color: #6D8156; }
<div style="background-color:#6D8156">Inner text</div>
This div background color is #6D8156.
.myBorderColor { border: 1px solid #6D8156; }
<div style="border:3px solid #6D8156">Div</div>
This div border color is #6D8156.
.myOpacity80 { color: #6D8156; opacity: 0.8; }
<p style="color:#6D8156;opacity:0.8;">80%</p>
Text with #6D8156 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D8156;}
<p style="text-shadow: 3px 3px 1px #6D8156">Text here.</p>
This text has shadow with #6D8156 color.
.textShadow {text-shadow: 3px 3px 1px #6D8156, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D8156, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D8156 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D8156, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D8156, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D8156 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D8156; -webkit-box-shadow: 1px 1px 3px 2px #6D8156; box-shadow: 1px 1px 3px 2px #6D8156; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D8156; -webkit-box-shadow: 1px 1px 3px 2px #6D8156; box-shadow:1px 1px 3px 2px #6D8156;">
Div content here</div>
This text has color #6D8156 on black background.
This text has color #6D8156 on white background.
This text has black color on #6D8156 background.
This text has white color on #6D8156 background.