HEX: #6D807E
RGB: (109,128,126)
#6D807E contains red, green and blue colors in about the same proportion. Web safe color of #6D807E is #666666 (or #666).
#6D807E color RGB value is (109,128,126).
RGB: (109,128,126) (43%,50%,49%)
R 109 of 255 = 43%
G 128 of 255 = 50%
B 126 of 255 = 49%
R + G + B ~ 47%. #6D807E is middle color (not dark and not light).
R + G + B =
109 + 128 + 126 = 363 (100%)
R 109 of 363 ~ 30.03%
G 128 of 363 ~ 35.26%
B 126 of 363 ~ 34.71%
#6D807E color CMYK value is (15,0,2,50).
CMYK: (15,0,2,50) C15M0Y2K50 (15%,0%,2%,50%) (0.15/0.00/0.02/0.50)
6D | 80 | 7E | |
---|---|---|---|
RGB | 109 | 128 | 126 |
HSL | 174° | 8.02% | 46.47% |
HSB/HSV | 174° | 14.84% | 50.20% |
CMYK | 14.84% | 0.00% | 1.56% |
49.80% |
HEX | 6D | 80 | 7E |
Decimal | 109 | 128 | 126 |
Binary | 1101101 | 10000000 | 1111110 |
Octal | 155 | 200 | 176 |
Examples of css and html codes for elements with #6D807E color. Also use rgb(109,128,126) instead hex code.
.myTextColor { color: #6D807E; }
<p style="color:#6D807E">This sample text font color is #6D807E.</p>
This text font color is #6D807E.
.myBgColor { background-color: #6D807E; }
<div style="background-color:#6D807E">Inner text</div>
This div background color is #6D807E.
.myBorderColor { border: 1px solid #6D807E; }
<div style="border:3px solid #6D807E">Div</div>
This div border color is #6D807E.
.myOpacity80 { color: #6D807E; opacity: 0.8; }
<p style="color:#6D807E;opacity:0.8;">80%</p>
Text with #6D807E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D807E;}
<p style="text-shadow: 3px 3px 1px #6D807E">Text here.</p>
This text has shadow with #6D807E color.
.textShadow {text-shadow: 3px 3px 1px #6D807E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D807E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D807E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D807E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D807E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D807E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D807E; -webkit-box-shadow: 1px 1px 3px 2px #6D807E; box-shadow: 1px 1px 3px 2px #6D807E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D807E; -webkit-box-shadow: 1px 1px 3px 2px #6D807E; box-shadow:1px 1px 3px 2px #6D807E;">
Div content here</div>
This text has color #6D807E on black background.
This text has color #6D807E on white background.
This text has black color on #6D807E background.
This text has white color on #6D807E background.