HEX: #6B7178
RGB: (107,113,120)
#6B7178 contains red, green and blue colors in about the same proportion. Web safe color of #6B7178 is #666666 (or #666).
#6B7178 color RGB value is (107,113,120).
RGB: (107,113,120) (42%,44%,47%)
R 107 of 255 = 42%
G 113 of 255 = 44%
B 120 of 255 = 47%
R + G + B ~ 44%. #6B7178 is middle color (not dark and not light).
R + G + B =
107 + 113 + 120 = 340 (100%)
R 107 of 340 ~ 31.47%
G 113 of 340 ~ 33.24%
B 120 of 340 ~ 35.29%
#6B7178 color CMYK value is (11,6,0,53).
CMYK: (11,6,0,53) C11M6Y0K53 (11%,6%,0%,53%) (0.11/0.06/0.00/0.53)
6B | 71 | 78 | |
---|---|---|---|
RGB | 107 | 113 | 120 |
HSL | 212° | 5.73% | 44.51% |
HSB/HSV | 212° | 10.83% | 47.06% |
CMYK | 10.83% | 5.83% | 0.00% |
52.94% |
HEX | 6B | 71 | 78 |
Decimal | 107 | 113 | 120 |
Binary | 1101011 | 1110001 | 1111000 |
Octal | 153 | 161 | 170 |
Examples of css and html codes for elements with #6B7178 color. Also use rgb(107,113,120) instead hex code.
.myTextColor { color: #6B7178; }
<p style="color:#6B7178">This sample text font color is #6B7178.</p>
This text font color is #6B7178.
.myBgColor { background-color: #6B7178; }
<div style="background-color:#6B7178">Inner text</div>
This div background color is #6B7178.
.myBorderColor { border: 1px solid #6B7178; }
<div style="border:3px solid #6B7178">Div</div>
This div border color is #6B7178.
.myOpacity80 { color: #6B7178; opacity: 0.8; }
<p style="color:#6B7178;opacity:0.8;">80%</p>
Text with #6B7178 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6B7178;}
<p style="text-shadow: 3px 3px 1px #6B7178">Text here.</p>
This text has shadow with #6B7178 color.
.textShadow {text-shadow: 3px 3px 1px #6B7178, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6B7178, 5px 5px 20px red">Text here.</p>
This text has shadow with #6B7178 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6B7178, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6B7178, Direction=45, Strength=4)">Text</p>
This text has shadow with #6B7178 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6B7178; -webkit-box-shadow: 1px 1px 3px 2px #6B7178; box-shadow: 1px 1px 3px 2px #6B7178; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6B7178; -webkit-box-shadow: 1px 1px 3px 2px #6B7178; box-shadow:1px 1px 3px 2px #6B7178;">
Div content here</div>
This text has color #6B7178 on black background.
This text has color #6B7178 on white background.
This text has black color on #6B7178 background.
This text has white color on #6B7178 background.