HEX: #6E871A
RGB: (110,135,26)
#6E871A contains mainly red and green colors. Web safe color of #6E871A is #669900 (or #690).
#6E871A color RGB value is (110,135,26).
RGB: (110,135,26) (43%,53%,10%)
R 110 of 255 = 43%
G 135 of 255 = 53%
B 26 of 255 = 10%
R + G + B ~ 35%. #6E871A is quite dark color.
R + G + B =
110 + 135 + 26 = 271 (100%)
R 110 of 271 ~ 40.59%
G 135 of 271 ~ 49.82%
B 26 of 271 ~ 9.59%
#6E871A color CMYK value is (19,0,81,47).
CMYK: (19,0,81,47) C19M0Y81K47 (19%,0%,81%,47%) (0.19/0.00/0.81/0.47)
6E | 87 | 1A | |
---|---|---|---|
RGB | 110 | 135 | 26 |
HSL | 74° | 67.70% | 31.57% |
HSB/HSV | 74° | 80.74% | 52.94% |
CMYK | 18.52% | 0.00% | 80.74% |
47.06% |
HEX | 6E | 87 | 1A |
Decimal | 110 | 135 | 26 |
Binary | 1101110 | 10000111 | 11010 |
Octal | 156 | 207 | 32 |
Examples of css and html codes for elements with #6E871A color. Also use rgb(110,135,26) instead hex code.
.myTextColor { color: #6E871A; }
<p style="color:#6E871A">This sample text font color is #6E871A.</p>
This text font color is #6E871A.
.myBgColor { background-color: #6E871A; }
<div style="background-color:#6E871A">Inner text</div>
This div background color is #6E871A.
.myBorderColor { border: 1px solid #6E871A; }
<div style="border:3px solid #6E871A">Div</div>
This div border color is #6E871A.
.myOpacity80 { color: #6E871A; opacity: 0.8; }
<p style="color:#6E871A;opacity:0.8;">80%</p>
Text with #6E871A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E871A;}
<p style="text-shadow: 3px 3px 1px #6E871A">Text here.</p>
This text has shadow with #6E871A color.
.textShadow {text-shadow: 3px 3px 1px #6E871A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E871A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E871A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E871A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E871A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E871A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E871A; -webkit-box-shadow: 1px 1px 3px 2px #6E871A; box-shadow: 1px 1px 3px 2px #6E871A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E871A; -webkit-box-shadow: 1px 1px 3px 2px #6E871A; box-shadow:1px 1px 3px 2px #6E871A;">
Div content here</div>
This text has color #6E871A on black background.
This text has color #6E871A on white background.
This text has black color on #6E871A background.
This text has white color on #6E871A background.