HEX: #788847
RGB: (120,136,71)
#788847 contains mainly red and green colors. Web safe color of #788847 is #669933 (or #693).
#788847 color RGB value is (120,136,71).
RGB: (120,136,71) (47%,53%,28%)
R 120 of 255 = 47%
G 136 of 255 = 53%
B 71 of 255 = 28%
R + G + B ~ 43%. #788847 is middle color (not dark and not light).
R + G + B =
120 + 136 + 71 = 327 (100%)
R 120 of 327 ~ 36.7%
G 136 of 327 ~ 41.59%
B 71 of 327 ~ 21.71%
#788847 color CMYK value is (12,0,48,47).
CMYK: (12,0,48,47) C12M0Y48K47 (12%,0%,48%,47%) (0.12/0.00/0.48/0.47)
78 | 88 | 47 | |
---|---|---|---|
RGB | 120 | 136 | 71 |
HSL | 75° | 31.40% | 40.59% |
HSB/HSV | 75° | 47.79% | 53.33% |
CMYK | 11.76% | 0.00% | 47.79% |
46.67% |
HEX | 78 | 88 | 47 |
Decimal | 120 | 136 | 71 |
Binary | 1111000 | 10001000 | 1000111 |
Octal | 170 | 210 | 107 |
Examples of css and html codes for elements with #788847 color. Also use rgb(120,136,71) instead hex code.
.myTextColor { color: #788847; }
<p style="color:#788847">This sample text font color is #788847.</p>
This text font color is #788847.
.myBgColor { background-color: #788847; }
<div style="background-color:#788847">Inner text</div>
This div background color is #788847.
.myBorderColor { border: 1px solid #788847; }
<div style="border:3px solid #788847">Div</div>
This div border color is #788847.
.myOpacity80 { color: #788847; opacity: 0.8; }
<p style="color:#788847;opacity:0.8;">80%</p>
Text with #788847 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #788847;}
<p style="text-shadow: 3px 3px 1px #788847">Text here.</p>
This text has shadow with #788847 color.
.textShadow {text-shadow: 3px 3px 1px #788847, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #788847, 5px 5px 20px red">Text here.</p>
This text has shadow with #788847 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#788847, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#788847, Direction=45, Strength=4)">Text</p>
This text has shadow with #788847 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #788847; -webkit-box-shadow: 1px 1px 3px 2px #788847; box-shadow: 1px 1px 3px 2px #788847; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #788847; -webkit-box-shadow: 1px 1px 3px 2px #788847; box-shadow:1px 1px 3px 2px #788847;">
Div content here</div>
This text has color #788847 on black background.
This text has color #788847 on white background.
This text has black color on #788847 background.
This text has white color on #788847 background.