HEX: #6B895F
RGB: (107,137,95)
#6B895F contains red, green and blue colors in about the same proportion. Web safe color of #6B895F is #669966 (or #696).
#6B895F color RGB value is (107,137,95).
RGB: (107,137,95) (42%,54%,37%)
R 107 of 255 = 42%
G 137 of 255 = 54%
B 95 of 255 = 37%
R + G + B ~ 44%. #6B895F is middle color (not dark and not light).
R + G + B =
107 + 137 + 95 = 339 (100%)
R 107 of 339 ~ 31.56%
G 137 of 339 ~ 40.41%
B 95 of 339 ~ 28.02%
#6B895F color CMYK value is (22,0,31,46).
CMYK: (22,0,31,46) C22M0Y31K46 (22%,0%,31%,46%) (0.22/0.00/0.31/0.46)
6B | 89 | 5F | |
---|---|---|---|
RGB | 107 | 137 | 95 |
HSL | 103° | 18.10% | 45.49% |
HSB/HSV | 103° | 30.66% | 53.73% |
CMYK | 21.90% | 0.00% | 30.66% |
46.27% |
HEX | 6B | 89 | 5F |
Decimal | 107 | 137 | 95 |
Binary | 1101011 | 10001001 | 1011111 |
Octal | 153 | 211 | 137 |
Examples of css and html codes for elements with #6B895F color. Also use rgb(107,137,95) instead hex code.
.myTextColor { color: #6B895F; }
<p style="color:#6B895F">This sample text font color is #6B895F.</p>
This text font color is #6B895F.
.myBgColor { background-color: #6B895F; }
<div style="background-color:#6B895F">Inner text</div>
This div background color is #6B895F.
.myBorderColor { border: 1px solid #6B895F; }
<div style="border:3px solid #6B895F">Div</div>
This div border color is #6B895F.
.myOpacity80 { color: #6B895F; opacity: 0.8; }
<p style="color:#6B895F;opacity:0.8;">80%</p>
Text with #6B895F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B895F;}
<p style="text-shadow: 3px 3px 1px #6B895F">Text here.</p>
This text has shadow with #6B895F color.
.textShadow {text-shadow: 3px 3px 1px #6B895F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B895F, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B895F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B895F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B895F, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B895F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B895F; -webkit-box-shadow: 1px 1px 3px 2px #6B895F; box-shadow: 1px 1px 3px 2px #6B895F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B895F; -webkit-box-shadow: 1px 1px 3px 2px #6B895F; box-shadow:1px 1px 3px 2px #6B895F;">
Div content here</div>
This text has color #6B895F on black background.
This text has color #6B895F on white background.
This text has black color on #6B895F background.
This text has white color on #6B895F background.