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