HEX: #6D798B
RGB: (109,121,139)
#6D798B contains red, green and blue colors in about the same proportion. Web safe color of #6D798B is #666699 (or #669).
#6D798B color RGB value is (109,121,139).
RGB: (109,121,139) (43%,47%,55%)
R 109 of 255 = 43%
G 121 of 255 = 47%
B 139 of 255 = 55%
R + G + B ~ 48%. #6D798B is middle color (not dark and not light).
R + G + B =
109 + 121 + 139 = 369 (100%)
R 109 of 369 ~ 29.54%
G 121 of 369 ~ 32.79%
B 139 of 369 ~ 37.67%
#6D798B color CMYK value is (22,13,0,45).
CMYK: (22,13,0,45) C22M13Y0K45 (22%,13%,0%,45%) (0.22/0.13/0.00/0.45)
6D | 79 | 8B | |
---|---|---|---|
RGB | 109 | 121 | 139 |
HSL | 216° | 12.10% | 48.63% |
HSB/HSV | 216° | 21.58% | 54.51% |
CMYK | 21.58% | 12.95% | 0.00% |
45.49% |
HEX | 6D | 79 | 8B |
Decimal | 109 | 121 | 139 |
Binary | 1101101 | 1111001 | 10001011 |
Octal | 155 | 171 | 213 |
Examples of css and html codes for elements with #6D798B color. Also use rgb(109,121,139) instead hex code.
.myTextColor { color: #6D798B; }
<p style="color:#6D798B">This sample text font color is #6D798B.</p>
This text font color is #6D798B.
.myBgColor { background-color: #6D798B; }
<div style="background-color:#6D798B">Inner text</div>
This div background color is #6D798B.
.myBorderColor { border: 1px solid #6D798B; }
<div style="border:3px solid #6D798B">Div</div>
This div border color is #6D798B.
.myOpacity80 { color: #6D798B; opacity: 0.8; }
<p style="color:#6D798B;opacity:0.8;">80%</p>
Text with #6D798B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6D798B;}
<p style="text-shadow: 3px 3px 1px #6D798B">Text here.</p>
This text has shadow with #6D798B color.
.textShadow {text-shadow: 3px 3px 1px #6D798B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6D798B, 5px 5px 20px red">Text here.</p>
This text has shadow with #6D798B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6D798B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6D798B, Direction=45, Strength=4)">Text</p>
This text has shadow with #6D798B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6D798B; -webkit-box-shadow: 1px 1px 3px 2px #6D798B; box-shadow: 1px 1px 3px 2px #6D798B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6D798B; -webkit-box-shadow: 1px 1px 3px 2px #6D798B; box-shadow:1px 1px 3px 2px #6D798B;">
Div content here</div>
This text has color #6D798B on black background.
This text has color #6D798B on white background.
This text has black color on #6D798B background.
This text has white color on #6D798B background.