HEX: #6E8140
RGB: (110,129,64)
#6E8140 contains mainly red and green colors. Web safe color of #6E8140 is #669933 (or #693).
#6E8140 color RGB value is (110,129,64).
RGB: (110,129,64) (43%,51%,25%)
R 110 of 255 = 43%
G 129 of 255 = 51%
B 64 of 255 = 25%
R + G + B ~ 40%. #6E8140 is middle color (not dark and not light).
R + G + B =
110 + 129 + 64 = 303 (100%)
R 110 of 303 ~ 36.3%
G 129 of 303 ~ 42.57%
B 64 of 303 ~ 21.12%
#6E8140 color CMYK value is (15,0,50,49).
CMYK: (15,0,50,49) C15M0Y50K49 (15%,0%,50%,49%) (0.15/0.00/0.50/0.49)
6E | 81 | 40 | |
---|---|---|---|
RGB | 110 | 129 | 64 |
HSL | 78° | 33.68% | 37.84% |
HSB/HSV | 78° | 50.39% | 50.59% |
CMYK | 14.73% | 0.00% | 50.39% |
49.41% |
HEX | 6E | 81 | 40 |
Decimal | 110 | 129 | 64 |
Binary | 1101110 | 10000001 | 1000000 |
Octal | 156 | 201 | 100 |
Examples of css and html codes for elements with #6E8140 color. Also use rgb(110,129,64) instead hex code.
.myTextColor { color: #6E8140; }
<p style="color:#6E8140">This sample text font color is #6E8140.</p>
This text font color is #6E8140.
.myBgColor { background-color: #6E8140; }
<div style="background-color:#6E8140">Inner text</div>
This div background color is #6E8140.
.myBorderColor { border: 1px solid #6E8140; }
<div style="border:3px solid #6E8140">Div</div>
This div border color is #6E8140.
.myOpacity80 { color: #6E8140; opacity: 0.8; }
<p style="color:#6E8140;opacity:0.8;">80%</p>
Text with #6E8140 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E8140;}
<p style="text-shadow: 3px 3px 1px #6E8140">Text here.</p>
This text has shadow with #6E8140 color.
.textShadow {text-shadow: 3px 3px 1px #6E8140, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E8140, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E8140 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E8140, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E8140, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E8140 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E8140; -webkit-box-shadow: 1px 1px 3px 2px #6E8140; box-shadow: 1px 1px 3px 2px #6E8140; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E8140; -webkit-box-shadow: 1px 1px 3px 2px #6E8140; box-shadow:1px 1px 3px 2px #6E8140;">
Div content here</div>
This text has color #6E8140 on black background.
This text has color #6E8140 on white background.
This text has black color on #6E8140 background.
This text has white color on #6E8140 background.