HEX: #788977
RGB: (120,137,119)
#788977 contains red, green and blue colors in about the same proportion. Web safe color of #788977 is #669966 (or #696).
#788977 color RGB value is (120,137,119).
RGB: (120,137,119) (47%,54%,47%)
R 120 of 255 = 47%
G 137 of 255 = 54%
B 119 of 255 = 47%
R + G + B ~ 49%. #788977 is middle color (not dark and not light).
R + G + B =
120 + 137 + 119 = 376 (100%)
R 120 of 376 ~ 31.91%
G 137 of 376 ~ 36.44%
B 119 of 376 ~ 31.65%
#788977 color CMYK value is (12,0,13,46).
CMYK: (12,0,13,46) C12M0Y13K46 (12%,0%,13%,46%) (0.12/0.00/0.13/0.46)
78 | 89 | 77 | |
---|---|---|---|
RGB | 120 | 137 | 119 |
HSL | 117° | 7.09% | 50.20% |
HSB/HSV | 117° | 13.14% | 53.73% |
CMYK | 12.41% | 0.00% | 13.14% |
46.27% |
HEX | 78 | 89 | 77 |
Decimal | 120 | 137 | 119 |
Binary | 1111000 | 10001001 | 1110111 |
Octal | 170 | 211 | 167 |
Examples of css and html codes for elements with #788977 color. Also use rgb(120,137,119) instead hex code.
.myTextColor { color: #788977; }
<p style="color:#788977">This sample text font color is #788977.</p>
This text font color is #788977.
.myBgColor { background-color: #788977; }
<div style="background-color:#788977">Inner text</div>
This div background color is #788977.
.myBorderColor { border: 1px solid #788977; }
<div style="border:3px solid #788977">Div</div>
This div border color is #788977.
.myOpacity80 { color: #788977; opacity: 0.8; }
<p style="color:#788977;opacity:0.8;">80%</p>
Text with #788977 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #788977;}
<p style="text-shadow: 3px 3px 1px #788977">Text here.</p>
This text has shadow with #788977 color.
.textShadow {text-shadow: 3px 3px 1px #788977, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #788977, 5px 5px 20px red">Text here.</p>
This text has shadow with #788977 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#788977, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#788977, Direction=45, Strength=4)">Text</p>
This text has shadow with #788977 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #788977; -webkit-box-shadow: 1px 1px 3px 2px #788977; box-shadow: 1px 1px 3px 2px #788977; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #788977; -webkit-box-shadow: 1px 1px 3px 2px #788977; box-shadow:1px 1px 3px 2px #788977;">
Div content here</div>
This text has color #788977 on black background.
This text has color #788977 on white background.
This text has black color on #788977 background.
This text has white color on #788977 background.