HEX: #66687D
RGB: (102,104,125)
#66687D contains red, green and blue colors in about the same proportion. Web safe color of #66687D is #666666 (or #666).
#66687D color RGB value is (102,104,125).
RGB: (102,104,125) (40%,41%,49%)
R 102 of 255 = 40%
G 104 of 255 = 41%
B 125 of 255 = 49%
R + G + B ~ 43%. #66687D is middle color (not dark and not light).
R + G + B =
102 + 104 + 125 = 331 (100%)
R 102 of 331 ~ 30.82%
G 104 of 331 ~ 31.42%
B 125 of 331 ~ 37.76%
#66687D color CMYK value is (18,17,0,51).
CMYK: (18,17,0,51) C18M17Y0K51 (18%,17%,0%,51%) (0.18/0.17/0.00/0.51)
66 | 68 | 7D | |
---|---|---|---|
RGB | 102 | 104 | 125 |
HSL | 235° | 10.13% | 44.51% |
HSB/HSV | 235° | 18.40% | 49.02% |
CMYK | 18.40% | 16.80% | 0.00% |
50.98% |
HEX | 66 | 68 | 7D |
Decimal | 102 | 104 | 125 |
Binary | 1100110 | 1101000 | 1111101 |
Octal | 146 | 150 | 175 |
Examples of css and html codes for elements with #66687D color. Also use rgb(102,104,125) instead hex code.
.myTextColor { color: #66687D; }
<p style="color:#66687D">This sample text font color is #66687D.</p>
This text font color is #66687D.
.myBgColor { background-color: #66687D; }
<div style="background-color:#66687D">Inner text</div>
This div background color is #66687D.
.myBorderColor { border: 1px solid #66687D; }
<div style="border:3px solid #66687D">Div</div>
This div border color is #66687D.
.myOpacity80 { color: #66687D; opacity: 0.8; }
<p style="color:#66687D;opacity:0.8;">80%</p>
Text with #66687D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #66687D;}
<p style="text-shadow: 3px 3px 1px #66687D">Text here.</p>
This text has shadow with #66687D color.
.textShadow {text-shadow: 3px 3px 1px #66687D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #66687D, 5px 5px 20px red">Text here.</p>
This text has shadow with #66687D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#66687D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#66687D, Direction=45, Strength=4)">Text</p>
This text has shadow with #66687D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #66687D; -webkit-box-shadow: 1px 1px 3px 2px #66687D; box-shadow: 1px 1px 3px 2px #66687D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #66687D; -webkit-box-shadow: 1px 1px 3px 2px #66687D; box-shadow:1px 1px 3px 2px #66687D;">
Div content here</div>
This text has color #66687D on black background.
This text has color #66687D on white background.
This text has black color on #66687D background.
This text has white color on #66687D background.