HEX: #78988C
RGB: (120,152,140)
#78988C contains red, green and blue colors in about the same proportion. Web safe color of #78988C is #669999 (or #699).
#78988C color RGB value is (120,152,140).
RGB: (120,152,140) (47%,60%,55%)
R 120 of 255 = 47%
G 152 of 255 = 60%
B 140 of 255 = 55%
R + G + B ~ 54%. #78988C is middle color (not dark and not light).
R + G + B =
120 + 152 + 140 = 412 (100%)
R 120 of 412 ~ 29.13%
G 152 of 412 ~ 36.89%
B 140 of 412 ~ 33.98%
#78988C color CMYK value is (21,0,8,40).
CMYK: (21,0,8,40) C21M0Y8K40 (21%,0%,8%,40%) (0.21/0.00/0.08/0.40)
78 | 98 | 8C | |
---|---|---|---|
RGB | 120 | 152 | 140 |
HSL | 158° | 13.45% | 53.33% |
HSB/HSV | 158° | 21.05% | 59.61% |
CMYK | 21.05% | 0.00% | 7.89% |
40.39% |
HEX | 78 | 98 | 8C |
Decimal | 120 | 152 | 140 |
Binary | 1111000 | 10011000 | 10001100 |
Octal | 170 | 230 | 214 |
Examples of css and html codes for elements with #78988C color. Also use rgb(120,152,140) instead hex code.
.myTextColor { color: #78988C; }
<p style="color:#78988C">This sample text font color is #78988C.</p>
This text font color is #78988C.
.myBgColor { background-color: #78988C; }
<div style="background-color:#78988C">Inner text</div>
This div background color is #78988C.
.myBorderColor { border: 1px solid #78988C; }
<div style="border:3px solid #78988C">Div</div>
This div border color is #78988C.
.myOpacity80 { color: #78988C; opacity: 0.8; }
<p style="color:#78988C;opacity:0.8;">80%</p>
Text with #78988C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #78988C;}
<p style="text-shadow: 3px 3px 1px #78988C">Text here.</p>
This text has shadow with #78988C color.
.textShadow {text-shadow: 3px 3px 1px #78988C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #78988C, 5px 5px 20px red">Text here.</p>
This text has shadow with #78988C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#78988C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#78988C, Direction=45, Strength=4)">Text</p>
This text has shadow with #78988C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #78988C; -webkit-box-shadow: 1px 1px 3px 2px #78988C; box-shadow: 1px 1px 3px 2px #78988C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #78988C; -webkit-box-shadow: 1px 1px 3px 2px #78988C; box-shadow:1px 1px 3px 2px #78988C;">
Div content here</div>
This text has color #78988C on black background.
This text has color #78988C on white background.
This text has black color on #78988C background.
This text has white color on #78988C background.