HEX: #6B786D
RGB: (107,120,109)
#6B786D contains red, green and blue colors in about the same proportion. Web safe color of #6B786D is #666666 (or #666).
#6B786D color RGB value is (107,120,109).
RGB: (107,120,109) (42%,47%,43%)
R 107 of 255 = 42%
G 120 of 255 = 47%
B 109 of 255 = 43%
R + G + B ~ 44%. #6B786D is middle color (not dark and not light).
R + G + B =
107 + 120 + 109 = 336 (100%)
R 107 of 336 ~ 31.85%
G 120 of 336 ~ 35.71%
B 109 of 336 ~ 32.44%
#6B786D color CMYK value is (11,0,9,53).
CMYK: (11,0,9,53) C11M0Y9K53 (11%,0%,9%,53%) (0.11/0.00/0.09/0.53)
6B | 78 | 6D | |
---|---|---|---|
RGB | 107 | 120 | 109 |
HSL | 129° | 5.73% | 44.51% |
HSB/HSV | 129° | 10.83% | 47.06% |
CMYK | 10.83% | 0.00% | 9.17% |
52.94% |
HEX | 6B | 78 | 6D |
Decimal | 107 | 120 | 109 |
Binary | 1101011 | 1111000 | 1101101 |
Octal | 153 | 170 | 155 |
Examples of css and html codes for elements with #6B786D color. Also use rgb(107,120,109) instead hex code.
.myTextColor { color: #6B786D; }
<p style="color:#6B786D">This sample text font color is #6B786D.</p>
This text font color is #6B786D.
.myBgColor { background-color: #6B786D; }
<div style="background-color:#6B786D">Inner text</div>
This div background color is #6B786D.
.myBorderColor { border: 1px solid #6B786D; }
<div style="border:3px solid #6B786D">Div</div>
This div border color is #6B786D.
.myOpacity80 { color: #6B786D; opacity: 0.8; }
<p style="color:#6B786D;opacity:0.8;">80%</p>
Text with #6B786D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B786D;}
<p style="text-shadow: 3px 3px 1px #6B786D">Text here.</p>
This text has shadow with #6B786D color.
.textShadow {text-shadow: 3px 3px 1px #6B786D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B786D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B786D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B786D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B786D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B786D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B786D; -webkit-box-shadow: 1px 1px 3px 2px #6B786D; box-shadow: 1px 1px 3px 2px #6B786D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B786D; -webkit-box-shadow: 1px 1px 3px 2px #6B786D; box-shadow:1px 1px 3px 2px #6B786D;">
Div content here</div>
This text has color #6B786D on black background.
This text has color #6B786D on white background.
This text has black color on #6B786D background.
This text has white color on #6B786D background.