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