HEX: #6C667E
RGB: (108,102,126)
#6C667E contains red, green and blue colors in about the same proportion. Web safe color of #6C667E is #666666 (or #666).
#6C667E color RGB value is (108,102,126).
RGB: (108,102,126) (42%,40%,49%)
R 108 of 255 = 42%
G 102 of 255 = 40%
B 126 of 255 = 49%
R + G + B ~ 44%. #6C667E is middle color (not dark and not light).
R + G + B =
108 + 102 + 126 = 336 (100%)
R 108 of 336 ~ 32.14%
G 102 of 336 ~ 30.36%
B 126 of 336 ~ 37.5%
#6C667E color CMYK value is (14,19,0,51).
CMYK: (14,19,0,51) C14M19Y0K51 (14%,19%,0%,51%) (0.14/0.19/0.00/0.51)
6C | 66 | 7E | |
---|---|---|---|
RGB | 108 | 102 | 126 |
HSL | 255° | 10.53% | 44.71% |
HSB/HSV | 255° | 19.05% | 49.41% |
CMYK | 14.29% | 19.05% | 0.00% |
50.59% |
HEX | 6C | 66 | 7E |
Decimal | 108 | 102 | 126 |
Binary | 1101100 | 1100110 | 1111110 |
Octal | 154 | 146 | 176 |
Examples of css and html codes for elements with #6C667E color. Also use rgb(108,102,126) instead hex code.
.myTextColor { color: #6C667E; }
<p style="color:#6C667E">This sample text font color is #6C667E.</p>
This text font color is #6C667E.
.myBgColor { background-color: #6C667E; }
<div style="background-color:#6C667E">Inner text</div>
This div background color is #6C667E.
.myBorderColor { border: 1px solid #6C667E; }
<div style="border:3px solid #6C667E">Div</div>
This div border color is #6C667E.
.myOpacity80 { color: #6C667E; opacity: 0.8; }
<p style="color:#6C667E;opacity:0.8;">80%</p>
Text with #6C667E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #6C667E;}
<p style="text-shadow: 3px 3px 1px #6C667E">Text here.</p>
This text has shadow with #6C667E color.
.textShadow {text-shadow: 3px 3px 1px #6C667E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #6C667E, 5px 5px 20px red">Text here.</p>
This text has shadow with #6C667E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#6C667E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#6C667E, Direction=45, Strength=4)">Text</p>
This text has shadow with #6C667E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #6C667E; -webkit-box-shadow: 1px 1px 3px 2px #6C667E; box-shadow: 1px 1px 3px 2px #6C667E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #6C667E; -webkit-box-shadow: 1px 1px 3px 2px #6C667E; box-shadow:1px 1px 3px 2px #6C667E;">
Div content here</div>
This text has color #6C667E on black background.
This text has color #6C667E on white background.
This text has black color on #6C667E background.
This text has white color on #6C667E background.