HEX: #6C874B
RGB: (108,135,75)
#6C874B contains mainly red and green colors. Web safe color of #6C874B is #669933 (or #693).
#6C874B color RGB value is (108,135,75).
RGB: (108,135,75) (42%,53%,29%)
R 108 of 255 = 42%
G 135 of 255 = 53%
B 75 of 255 = 29%
R + G + B ~ 41%. #6C874B is middle color (not dark and not light).
R + G + B =
108 + 135 + 75 = 318 (100%)
R 108 of 318 ~ 33.96%
G 135 of 318 ~ 42.45%
B 75 of 318 ~ 23.58%
#6C874B color CMYK value is (20,0,44,47).
CMYK: (20,0,44,47) C20M0Y44K47 (20%,0%,44%,47%) (0.20/0.00/0.44/0.47)
6C | 87 | 4B | |
---|---|---|---|
RGB | 108 | 135 | 75 |
HSL | 87° | 28.57% | 41.18% |
HSB/HSV | 87° | 44.44% | 52.94% |
CMYK | 20.00% | 0.00% | 44.44% |
47.06% |
HEX | 6C | 87 | 4B |
Decimal | 108 | 135 | 75 |
Binary | 1101100 | 10000111 | 1001011 |
Octal | 154 | 207 | 113 |
Examples of css and html codes for elements with #6C874B color. Also use rgb(108,135,75) instead hex code.
.myTextColor { color: #6C874B; }
<p style="color:#6C874B">This sample text font color is #6C874B.</p>
This text font color is #6C874B.
.myBgColor { background-color: #6C874B; }
<div style="background-color:#6C874B">Inner text</div>
This div background color is #6C874B.
.myBorderColor { border: 1px solid #6C874B; }
<div style="border:3px solid #6C874B">Div</div>
This div border color is #6C874B.
.myOpacity80 { color: #6C874B; opacity: 0.8; }
<p style="color:#6C874B;opacity:0.8;">80%</p>
Text with #6C874B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C874B;}
<p style="text-shadow: 3px 3px 1px #6C874B">Text here.</p>
This text has shadow with #6C874B color.
.textShadow {text-shadow: 3px 3px 1px #6C874B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C874B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C874B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C874B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C874B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C874B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C874B; -webkit-box-shadow: 1px 1px 3px 2px #6C874B; box-shadow: 1px 1px 3px 2px #6C874B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C874B; -webkit-box-shadow: 1px 1px 3px 2px #6C874B; box-shadow:1px 1px 3px 2px #6C874B;">
Div content here</div>
This text has color #6C874B on black background.
This text has color #6C874B on white background.
This text has black color on #6C874B background.
This text has white color on #6C874B background.