HEX: #6D8B4A
RGB: (109,139,74)
#6D8B4A contains mainly red and green colors. Web safe color of #6D8B4A is #669933 (or #693).
#6D8B4A color RGB value is (109,139,74).
RGB: (109,139,74) (43%,55%,29%)
R 109 of 255 = 43%
G 139 of 255 = 55%
B 74 of 255 = 29%
R + G + B ~ 42%. #6D8B4A is middle color (not dark and not light).
R + G + B =
109 + 139 + 74 = 322 (100%)
R 109 of 322 ~ 33.85%
G 139 of 322 ~ 43.17%
B 74 of 322 ~ 22.98%
#6D8B4A color CMYK value is (22,0,47,45).
CMYK: (22,0,47,45) C22M0Y47K45 (22%,0%,47%,45%) (0.22/0.00/0.47/0.45)
6D | 8B | 4A | |
---|---|---|---|
RGB | 109 | 139 | 74 |
HSL | 88° | 30.52% | 41.76% |
HSB/HSV | 88° | 46.76% | 54.51% |
CMYK | 21.58% | 0.00% | 46.76% |
45.49% |
HEX | 6D | 8B | 4A |
Decimal | 109 | 139 | 74 |
Binary | 1101101 | 10001011 | 1001010 |
Octal | 155 | 213 | 112 |
Examples of css and html codes for elements with #6D8B4A color. Also use rgb(109,139,74) instead hex code.
.myTextColor { color: #6D8B4A; }
<p style="color:#6D8B4A">This sample text font color is #6D8B4A.</p>
This text font color is #6D8B4A.
.myBgColor { background-color: #6D8B4A; }
<div style="background-color:#6D8B4A">Inner text</div>
This div background color is #6D8B4A.
.myBorderColor { border: 1px solid #6D8B4A; }
<div style="border:3px solid #6D8B4A">Div</div>
This div border color is #6D8B4A.
.myOpacity80 { color: #6D8B4A; opacity: 0.8; }
<p style="color:#6D8B4A;opacity:0.8;">80%</p>
Text with #6D8B4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D8B4A;}
<p style="text-shadow: 3px 3px 1px #6D8B4A">Text here.</p>
This text has shadow with #6D8B4A color.
.textShadow {text-shadow: 3px 3px 1px #6D8B4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D8B4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D8B4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D8B4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D8B4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D8B4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D8B4A; -webkit-box-shadow: 1px 1px 3px 2px #6D8B4A; box-shadow: 1px 1px 3px 2px #6D8B4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D8B4A; -webkit-box-shadow: 1px 1px 3px 2px #6D8B4A; box-shadow:1px 1px 3px 2px #6D8B4A;">
Div content here</div>
This text has color #6D8B4A on black background.
This text has color #6D8B4A on white background.
This text has black color on #6D8B4A background.
This text has white color on #6D8B4A background.