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