HEX: #6D787F
RGB: (109,120,127)
#6D787F contains red, green and blue colors in about the same proportion. Web safe color of #6D787F is #666666 (or #666).
#6D787F color RGB value is (109,120,127).
RGB: (109,120,127) (43%,47%,50%)
R 109 of 255 = 43%
G 120 of 255 = 47%
B 127 of 255 = 50%
R + G + B ~ 47%. #6D787F is middle color (not dark and not light).
R + G + B =
109 + 120 + 127 = 356 (100%)
R 109 of 356 ~ 30.62%
G 120 of 356 ~ 33.71%
B 127 of 356 ~ 35.67%
#6D787F color CMYK value is (14,6,0,50).
CMYK: (14,6,0,50) C14M6Y0K50 (14%,6%,0%,50%) (0.14/0.06/0.00/0.50)
6D | 78 | 7F | |
---|---|---|---|
RGB | 109 | 120 | 127 |
HSL | 203° | 7.63% | 46.27% |
HSB/HSV | 203° | 14.17% | 49.80% |
CMYK | 14.17% | 5.51% | 0.00% |
50.20% |
HEX | 6D | 78 | 7F |
Decimal | 109 | 120 | 127 |
Binary | 1101101 | 1111000 | 1111111 |
Octal | 155 | 170 | 177 |
Examples of css and html codes for elements with #6D787F color. Also use rgb(109,120,127) instead hex code.
.myTextColor { color: #6D787F; }
<p style="color:#6D787F">This sample text font color is #6D787F.</p>
This text font color is #6D787F.
.myBgColor { background-color: #6D787F; }
<div style="background-color:#6D787F">Inner text</div>
This div background color is #6D787F.
.myBorderColor { border: 1px solid #6D787F; }
<div style="border:3px solid #6D787F">Div</div>
This div border color is #6D787F.
.myOpacity80 { color: #6D787F; opacity: 0.8; }
<p style="color:#6D787F;opacity:0.8;">80%</p>
Text with #6D787F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D787F;}
<p style="text-shadow: 3px 3px 1px #6D787F">Text here.</p>
This text has shadow with #6D787F color.
.textShadow {text-shadow: 3px 3px 1px #6D787F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D787F, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D787F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D787F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D787F, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D787F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D787F; -webkit-box-shadow: 1px 1px 3px 2px #6D787F; box-shadow: 1px 1px 3px 2px #6D787F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D787F; -webkit-box-shadow: 1px 1px 3px 2px #6D787F; box-shadow:1px 1px 3px 2px #6D787F;">
Div content here</div>
This text has color #6D787F on black background.
This text has color #6D787F on white background.
This text has black color on #6D787F background.
This text has white color on #6D787F background.