HEX: #6B8B47
RGB: (107,139,71)
#6B8B47 contains mainly red and green colors. Web safe color of #6B8B47 is #669933 (or #693).
#6B8B47 color RGB value is (107,139,71).
RGB: (107,139,71) (42%,55%,28%)
R 107 of 255 = 42%
G 139 of 255 = 55%
B 71 of 255 = 28%
R + G + B ~ 42%. #6B8B47 is middle color (not dark and not light).
R + G + B =
107 + 139 + 71 = 317 (100%)
R 107 of 317 ~ 33.75%
G 139 of 317 ~ 43.85%
B 71 of 317 ~ 22.4%
#6B8B47 color CMYK value is (23,0,49,45).
CMYK: (23,0,49,45) C23M0Y49K45 (23%,0%,49%,45%) (0.23/0.00/0.49/0.45)
6B | 8B | 47 | |
---|---|---|---|
RGB | 107 | 139 | 71 |
HSL | 88° | 32.38% | 41.18% |
HSB/HSV | 88° | 48.92% | 54.51% |
CMYK | 23.02% | 0.00% | 48.92% |
45.49% |
HEX | 6B | 8B | 47 |
Decimal | 107 | 139 | 71 |
Binary | 1101011 | 10001011 | 1000111 |
Octal | 153 | 213 | 107 |
Examples of css and html codes for elements with #6B8B47 color. Also use rgb(107,139,71) instead hex code.
.myTextColor { color: #6B8B47; }
<p style="color:#6B8B47">This sample text font color is #6B8B47.</p>
This text font color is #6B8B47.
.myBgColor { background-color: #6B8B47; }
<div style="background-color:#6B8B47">Inner text</div>
This div background color is #6B8B47.
.myBorderColor { border: 1px solid #6B8B47; }
<div style="border:3px solid #6B8B47">Div</div>
This div border color is #6B8B47.
.myOpacity80 { color: #6B8B47; opacity: 0.8; }
<p style="color:#6B8B47;opacity:0.8;">80%</p>
Text with #6B8B47 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B8B47;}
<p style="text-shadow: 3px 3px 1px #6B8B47">Text here.</p>
This text has shadow with #6B8B47 color.
.textShadow {text-shadow: 3px 3px 1px #6B8B47, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B8B47, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B8B47 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B8B47, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B8B47, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B8B47 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B8B47; -webkit-box-shadow: 1px 1px 3px 2px #6B8B47; box-shadow: 1px 1px 3px 2px #6B8B47; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B8B47; -webkit-box-shadow: 1px 1px 3px 2px #6B8B47; box-shadow:1px 1px 3px 2px #6B8B47;">
Div content here</div>
This text has color #6B8B47 on black background.
This text has color #6B8B47 on white background.
This text has black color on #6B8B47 background.
This text has white color on #6B8B47 background.