HEX: #6B875B
RGB: (107,135,91)
#6B875B contains red, green and blue colors in about the same proportion. Web safe color of #6B875B is #669966 (or #696).
#6B875B color RGB value is (107,135,91).
RGB: (107,135,91) (42%,53%,36%)
R 107 of 255 = 42%
G 135 of 255 = 53%
B 91 of 255 = 36%
R + G + B ~ 44%. #6B875B is middle color (not dark and not light).
R + G + B =
107 + 135 + 91 = 333 (100%)
R 107 of 333 ~ 32.13%
G 135 of 333 ~ 40.54%
B 91 of 333 ~ 27.33%
#6B875B color CMYK value is (21,0,33,47).
CMYK: (21,0,33,47) C21M0Y33K47 (21%,0%,33%,47%) (0.21/0.00/0.33/0.47)
6B | 87 | 5B | |
---|---|---|---|
RGB | 107 | 135 | 91 |
HSL | 98° | 19.47% | 44.31% |
HSB/HSV | 98° | 32.59% | 52.94% |
CMYK | 20.74% | 0.00% | 32.59% |
47.06% |
HEX | 6B | 87 | 5B |
Decimal | 107 | 135 | 91 |
Binary | 1101011 | 10000111 | 1011011 |
Octal | 153 | 207 | 133 |
Examples of css and html codes for elements with #6B875B color. Also use rgb(107,135,91) instead hex code.
.myTextColor { color: #6B875B; }
<p style="color:#6B875B">This sample text font color is #6B875B.</p>
This text font color is #6B875B.
.myBgColor { background-color: #6B875B; }
<div style="background-color:#6B875B">Inner text</div>
This div background color is #6B875B.
.myBorderColor { border: 1px solid #6B875B; }
<div style="border:3px solid #6B875B">Div</div>
This div border color is #6B875B.
.myOpacity80 { color: #6B875B; opacity: 0.8; }
<p style="color:#6B875B;opacity:0.8;">80%</p>
Text with #6B875B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B875B;}
<p style="text-shadow: 3px 3px 1px #6B875B">Text here.</p>
This text has shadow with #6B875B color.
.textShadow {text-shadow: 3px 3px 1px #6B875B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B875B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B875B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B875B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B875B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B875B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B875B; -webkit-box-shadow: 1px 1px 3px 2px #6B875B; box-shadow: 1px 1px 3px 2px #6B875B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B875B; -webkit-box-shadow: 1px 1px 3px 2px #6B875B; box-shadow:1px 1px 3px 2px #6B875B;">
Div content here</div>
This text has color #6B875B on black background.
This text has color #6B875B on white background.
This text has black color on #6B875B background.
This text has white color on #6B875B background.