HEX: #6D788A
RGB: (109,120,138)
#6D788A contains red, green and blue colors in about the same proportion. Web safe color of #6D788A is #666699 (or #669).
#6D788A color RGB value is (109,120,138).
RGB: (109,120,138) (43%,47%,54%)
R 109 of 255 = 43%
G 120 of 255 = 47%
B 138 of 255 = 54%
R + G + B ~ 48%. #6D788A is middle color (not dark and not light).
R + G + B =
109 + 120 + 138 = 367 (100%)
R 109 of 367 ~ 29.7%
G 120 of 367 ~ 32.7%
B 138 of 367 ~ 37.6%
#6D788A color CMYK value is (21,13,0,46).
CMYK: (21,13,0,46) C21M13Y0K46 (21%,13%,0%,46%) (0.21/0.13/0.00/0.46)
6D | 78 | 8A | |
---|---|---|---|
RGB | 109 | 120 | 138 |
HSL | 217° | 11.74% | 48.43% |
HSB/HSV | 217° | 21.01% | 54.12% |
CMYK | 21.01% | 13.04% | 0.00% |
45.88% |
HEX | 6D | 78 | 8A |
Decimal | 109 | 120 | 138 |
Binary | 1101101 | 1111000 | 10001010 |
Octal | 155 | 170 | 212 |
Examples of css and html codes for elements with #6D788A color. Also use rgb(109,120,138) instead hex code.
.myTextColor { color: #6D788A; }
<p style="color:#6D788A">This sample text font color is #6D788A.</p>
This text font color is #6D788A.
.myBgColor { background-color: #6D788A; }
<div style="background-color:#6D788A">Inner text</div>
This div background color is #6D788A.
.myBorderColor { border: 1px solid #6D788A; }
<div style="border:3px solid #6D788A">Div</div>
This div border color is #6D788A.
.myOpacity80 { color: #6D788A; opacity: 0.8; }
<p style="color:#6D788A;opacity:0.8;">80%</p>
Text with #6D788A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D788A;}
<p style="text-shadow: 3px 3px 1px #6D788A">Text here.</p>
This text has shadow with #6D788A color.
.textShadow {text-shadow: 3px 3px 1px #6D788A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D788A, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D788A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D788A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D788A, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D788A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D788A; -webkit-box-shadow: 1px 1px 3px 2px #6D788A; box-shadow: 1px 1px 3px 2px #6D788A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D788A; -webkit-box-shadow: 1px 1px 3px 2px #6D788A; box-shadow:1px 1px 3px 2px #6D788A;">
Div content here</div>
This text has color #6D788A on black background.
This text has color #6D788A on white background.
This text has black color on #6D788A background.
This text has white color on #6D788A background.