HEX: #6E8A4A
RGB: (110,138,74)
#6E8A4A contains mainly red and green colors. Web safe color of #6E8A4A is #669933 (or #693).
#6E8A4A color RGB value is (110,138,74).
RGB: (110,138,74) (43%,54%,29%)
R 110 of 255 = 43%
G 138 of 255 = 54%
B 74 of 255 = 29%
R + G + B ~ 42%. #6E8A4A is middle color (not dark and not light).
R + G + B =
110 + 138 + 74 = 322 (100%)
R 110 of 322 ~ 34.16%
G 138 of 322 ~ 42.86%
B 74 of 322 ~ 22.98%
#6E8A4A color CMYK value is (20,0,46,46).
CMYK: (20,0,46,46) C20M0Y46K46 (20%,0%,46%,46%) (0.20/0.00/0.46/0.46)
6E | 8A | 4A | |
---|---|---|---|
RGB | 110 | 138 | 74 |
HSL | 86° | 30.19% | 41.57% |
HSB/HSV | 86° | 46.38% | 54.12% |
CMYK | 20.29% | 0.00% | 46.38% |
45.88% |
HEX | 6E | 8A | 4A |
Decimal | 110 | 138 | 74 |
Binary | 1101110 | 10001010 | 1001010 |
Octal | 156 | 212 | 112 |
Examples of css and html codes for elements with #6E8A4A color. Also use rgb(110,138,74) instead hex code.
.myTextColor { color: #6E8A4A; }
<p style="color:#6E8A4A">This sample text font color is #6E8A4A.</p>
This text font color is #6E8A4A.
.myBgColor { background-color: #6E8A4A; }
<div style="background-color:#6E8A4A">Inner text</div>
This div background color is #6E8A4A.
.myBorderColor { border: 1px solid #6E8A4A; }
<div style="border:3px solid #6E8A4A">Div</div>
This div border color is #6E8A4A.
.myOpacity80 { color: #6E8A4A; opacity: 0.8; }
<p style="color:#6E8A4A;opacity:0.8;">80%</p>
Text with #6E8A4A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E8A4A;}
<p style="text-shadow: 3px 3px 1px #6E8A4A">Text here.</p>
This text has shadow with #6E8A4A color.
.textShadow {text-shadow: 3px 3px 1px #6E8A4A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E8A4A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E8A4A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E8A4A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E8A4A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E8A4A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E8A4A; -webkit-box-shadow: 1px 1px 3px 2px #6E8A4A; box-shadow: 1px 1px 3px 2px #6E8A4A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E8A4A; -webkit-box-shadow: 1px 1px 3px 2px #6E8A4A; box-shadow:1px 1px 3px 2px #6E8A4A;">
Div content here</div>
This text has color #6E8A4A on black background.
This text has color #6E8A4A on white background.
This text has black color on #6E8A4A background.
This text has white color on #6E8A4A background.