HEX: #787D3B
RGB: (120,125,59)
#787D3B contains mainly red and green colors. Web safe color of #787D3B is #666633 (or #663).
#787D3B color RGB value is (120,125,59).
RGB: (120,125,59) (47%,49%,23%)
R 120 of 255 = 47%
G 125 of 255 = 49%
B 59 of 255 = 23%
R + G + B ~ 40%. #787D3B is middle color (not dark and not light).
R + G + B =
120 + 125 + 59 = 304 (100%)
R 120 of 304 ~ 39.47%
G 125 of 304 ~ 41.12%
B 59 of 304 ~ 19.41%
#787D3B color CMYK value is (4,0,53,51).
CMYK: (4,0,53,51) C4M0Y53K51 (4%,0%,53%,51%) (0.04/0.00/0.53/0.51)
78 | 7D | 3B | |
---|---|---|---|
RGB | 120 | 125 | 59 |
HSL | 65° | 35.87% | 36.08% |
HSB/HSV | 65° | 52.80% | 49.02% |
CMYK | 4.00% | 0.00% | 52.80% |
50.98% |
HEX | 78 | 7D | 3B |
Decimal | 120 | 125 | 59 |
Binary | 1111000 | 1111101 | 111011 |
Octal | 170 | 175 | 73 |
Examples of css and html codes for elements with #787D3B color. Also use rgb(120,125,59) instead hex code.
.myTextColor { color: #787D3B; }
<p style="color:#787D3B">This sample text font color is #787D3B.</p>
This text font color is #787D3B.
.myBgColor { background-color: #787D3B; }
<div style="background-color:#787D3B">Inner text</div>
This div background color is #787D3B.
.myBorderColor { border: 1px solid #787D3B; }
<div style="border:3px solid #787D3B">Div</div>
This div border color is #787D3B.
.myOpacity80 { color: #787D3B; opacity: 0.8; }
<p style="color:#787D3B;opacity:0.8;">80%</p>
Text with #787D3B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787D3B;}
<p style="text-shadow: 3px 3px 1px #787D3B">Text here.</p>
This text has shadow with #787D3B color.
.textShadow {text-shadow: 3px 3px 1px #787D3B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787D3B, 5px 5px 20px red">Text here.</p>
This text has shadow with #787D3B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787D3B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787D3B, Direction=45, Strength=4)">Text</p>
This text has shadow with #787D3B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787D3B; -webkit-box-shadow: 1px 1px 3px 2px #787D3B; box-shadow: 1px 1px 3px 2px #787D3B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787D3B; -webkit-box-shadow: 1px 1px 3px 2px #787D3B; box-shadow:1px 1px 3px 2px #787D3B;">
Div content here</div>
This text has color #787D3B on black background.
This text has color #787D3B on white background.
This text has black color on #787D3B background.
This text has white color on #787D3B background.