HEX: #6B796D
RGB: (107,121,109)
#6B796D contains red, green and blue colors in about the same proportion. Web safe color of #6B796D is #666666 (or #666).
#6B796D color RGB value is (107,121,109).
RGB: (107,121,109) (42%,47%,43%)
R 107 of 255 = 42%
G 121 of 255 = 47%
B 109 of 255 = 43%
R + G + B ~ 44%. #6B796D is middle color (not dark and not light).
R + G + B =
107 + 121 + 109 = 337 (100%)
R 107 of 337 ~ 31.75%
G 121 of 337 ~ 35.91%
B 109 of 337 ~ 32.34%
#6B796D color CMYK value is (12,0,10,53).
CMYK: (12,0,10,53) C12M0Y10K53 (12%,0%,10%,53%) (0.12/0.00/0.10/0.53)
6B | 79 | 6D | |
---|---|---|---|
RGB | 107 | 121 | 109 |
HSL | 129° | 6.14% | 44.71% |
HSB/HSV | 129° | 11.57% | 47.45% |
CMYK | 11.57% | 0.00% | 9.92% |
52.55% |
HEX | 6B | 79 | 6D |
Decimal | 107 | 121 | 109 |
Binary | 1101011 | 1111001 | 1101101 |
Octal | 153 | 171 | 155 |
Examples of css and html codes for elements with #6B796D color. Also use rgb(107,121,109) instead hex code.
.myTextColor { color: #6B796D; }
<p style="color:#6B796D">This sample text font color is #6B796D.</p>
This text font color is #6B796D.
.myBgColor { background-color: #6B796D; }
<div style="background-color:#6B796D">Inner text</div>
This div background color is #6B796D.
.myBorderColor { border: 1px solid #6B796D; }
<div style="border:3px solid #6B796D">Div</div>
This div border color is #6B796D.
.myOpacity80 { color: #6B796D; opacity: 0.8; }
<p style="color:#6B796D;opacity:0.8;">80%</p>
Text with #6B796D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B796D;}
<p style="text-shadow: 3px 3px 1px #6B796D">Text here.</p>
This text has shadow with #6B796D color.
.textShadow {text-shadow: 3px 3px 1px #6B796D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B796D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B796D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B796D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B796D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B796D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B796D; -webkit-box-shadow: 1px 1px 3px 2px #6B796D; box-shadow: 1px 1px 3px 2px #6B796D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B796D; -webkit-box-shadow: 1px 1px 3px 2px #6B796D; box-shadow:1px 1px 3px 2px #6B796D;">
Div content here</div>
This text has color #6B796D on black background.
This text has color #6B796D on white background.
This text has black color on #6B796D background.
This text has white color on #6B796D background.