HEX: #6E7D24
RGB: (110,125,36)
#6E7D24 contains mainly red and green colors. Web safe color of #6E7D24 is #666633 (or #663).
#6E7D24 color RGB value is (110,125,36).
RGB: (110,125,36) (43%,49%,14%)
R 110 of 255 = 43%
G 125 of 255 = 49%
B 36 of 255 = 14%
R + G + B ~ 35%. #6E7D24 is quite dark color.
R + G + B =
110 + 125 + 36 = 271 (100%)
R 110 of 271 ~ 40.59%
G 125 of 271 ~ 46.13%
B 36 of 271 ~ 13.28%
#6E7D24 color CMYK value is (12,0,71,51).
CMYK: (12,0,71,51) C12M0Y71K51 (12%,0%,71%,51%) (0.12/0.00/0.71/0.51)
6E | 7D | 24 | |
---|---|---|---|
RGB | 110 | 125 | 36 |
HSL | 70° | 55.28% | 31.57% |
HSB/HSV | 70° | 71.20% | 49.02% |
CMYK | 12.00% | 0.00% | 71.20% |
50.98% |
HEX | 6E | 7D | 24 |
Decimal | 110 | 125 | 36 |
Binary | 1101110 | 1111101 | 100100 |
Octal | 156 | 175 | 44 |
Examples of css and html codes for elements with #6E7D24 color. Also use rgb(110,125,36) instead hex code.
.myTextColor { color: #6E7D24; }
<p style="color:#6E7D24">This sample text font color is #6E7D24.</p>
This text font color is #6E7D24.
.myBgColor { background-color: #6E7D24; }
<div style="background-color:#6E7D24">Inner text</div>
This div background color is #6E7D24.
.myBorderColor { border: 1px solid #6E7D24; }
<div style="border:3px solid #6E7D24">Div</div>
This div border color is #6E7D24.
.myOpacity80 { color: #6E7D24; opacity: 0.8; }
<p style="color:#6E7D24;opacity:0.8;">80%</p>
Text with #6E7D24 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6E7D24;}
<p style="text-shadow: 3px 3px 1px #6E7D24">Text here.</p>
This text has shadow with #6E7D24 color.
.textShadow {text-shadow: 3px 3px 1px #6E7D24, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6E7D24, 5px 5px 20px red">Text here.</p>
This text has shadow with #6E7D24 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6E7D24, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6E7D24, Direction=45, Strength=4)">Text</p>
This text has shadow with #6E7D24 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6E7D24; -webkit-box-shadow: 1px 1px 3px 2px #6E7D24; box-shadow: 1px 1px 3px 2px #6E7D24; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6E7D24; -webkit-box-shadow: 1px 1px 3px 2px #6E7D24; box-shadow:1px 1px 3px 2px #6E7D24;">
Div content here</div>
This text has color #6E7D24 on black background.
This text has color #6E7D24 on white background.
This text has black color on #6E7D24 background.
This text has white color on #6E7D24 background.