HEX: #6D797D
RGB: (109,121,125)
#6D797D contains red, green and blue colors in about the same proportion. Web safe color of #6D797D is #666666 (or #666).
#6D797D color RGB value is (109,121,125).
RGB: (109,121,125) (43%,47%,49%)
R 109 of 255 = 43%
G 121 of 255 = 47%
B 125 of 255 = 49%
R + G + B ~ 46%. #6D797D is middle color (not dark and not light).
R + G + B =
109 + 121 + 125 = 355 (100%)
R 109 of 355 ~ 30.7%
G 121 of 355 ~ 34.08%
B 125 of 355 ~ 35.21%
#6D797D color CMYK value is (13,3,0,51).
CMYK: (13,3,0,51) C13M3Y0K51 (13%,3%,0%,51%) (0.13/0.03/0.00/0.51)
6D | 79 | 7D | |
---|---|---|---|
RGB | 109 | 121 | 125 |
HSL | 195° | 6.84% | 45.88% |
HSB/HSV | 195° | 12.80% | 49.02% |
CMYK | 12.80% | 3.20% | 0.00% |
50.98% |
HEX | 6D | 79 | 7D |
Decimal | 109 | 121 | 125 |
Binary | 1101101 | 1111001 | 1111101 |
Octal | 155 | 171 | 175 |
Examples of css and html codes for elements with #6D797D color. Also use rgb(109,121,125) instead hex code.
.myTextColor { color: #6D797D; }
<p style="color:#6D797D">This sample text font color is #6D797D.</p>
This text font color is #6D797D.
.myBgColor { background-color: #6D797D; }
<div style="background-color:#6D797D">Inner text</div>
This div background color is #6D797D.
.myBorderColor { border: 1px solid #6D797D; }
<div style="border:3px solid #6D797D">Div</div>
This div border color is #6D797D.
.myOpacity80 { color: #6D797D; opacity: 0.8; }
<p style="color:#6D797D;opacity:0.8;">80%</p>
Text with #6D797D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D797D;}
<p style="text-shadow: 3px 3px 1px #6D797D">Text here.</p>
This text has shadow with #6D797D color.
.textShadow {text-shadow: 3px 3px 1px #6D797D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D797D, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D797D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D797D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D797D, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D797D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D797D; -webkit-box-shadow: 1px 1px 3px 2px #6D797D; box-shadow: 1px 1px 3px 2px #6D797D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D797D; -webkit-box-shadow: 1px 1px 3px 2px #6D797D; box-shadow:1px 1px 3px 2px #6D797D;">
Div content here</div>
This text has color #6D797D on black background.
This text has color #6D797D on white background.
This text has black color on #6D797D background.
This text has white color on #6D797D background.