HEX: #78998E
RGB: (120,153,142)
#78998E contains red, green and blue colors in about the same proportion. Web safe color of #78998E is #669999 (or #699).
#78998E color RGB value is (120,153,142).
RGB: (120,153,142) (47%,60%,56%)
R 120 of 255 = 47%
G 153 of 255 = 60%
B 142 of 255 = 56%
R + G + B ~ 54%. #78998E is middle color (not dark and not light).
R + G + B =
120 + 153 + 142 = 415 (100%)
R 120 of 415 ~ 28.92%
G 153 of 415 ~ 36.87%
B 142 of 415 ~ 34.22%
#78998E color CMYK value is (22,0,7,40).
CMYK: (22,0,7,40) C22M0Y7K40 (22%,0%,7%,40%) (0.22/0.00/0.07/0.40)
78 | 99 | 8E | |
---|---|---|---|
RGB | 120 | 153 | 142 |
HSL | 160° | 13.92% | 53.53% |
HSB/HSV | 160° | 21.57% | 60.00% |
CMYK | 21.57% | 0.00% | 7.19% |
40.00% |
HEX | 78 | 99 | 8E |
Decimal | 120 | 153 | 142 |
Binary | 1111000 | 10011001 | 10001110 |
Octal | 170 | 231 | 216 |
Examples of css and html codes for elements with #78998E color. Also use rgb(120,153,142) instead hex code.
.myTextColor { color: #78998E; }
<p style="color:#78998E">This sample text font color is #78998E.</p>
This text font color is #78998E.
.myBgColor { background-color: #78998E; }
<div style="background-color:#78998E">Inner text</div>
This div background color is #78998E.
.myBorderColor { border: 1px solid #78998E; }
<div style="border:3px solid #78998E">Div</div>
This div border color is #78998E.
.myOpacity80 { color: #78998E; opacity: 0.8; }
<p style="color:#78998E;opacity:0.8;">80%</p>
Text with #78998E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #78998E;}
<p style="text-shadow: 3px 3px 1px #78998E">Text here.</p>
This text has shadow with #78998E color.
.textShadow {text-shadow: 3px 3px 1px #78998E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #78998E, 5px 5px 20px red">Text here.</p>
This text has shadow with #78998E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#78998E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#78998E, Direction=45, Strength=4)">Text</p>
This text has shadow with #78998E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #78998E; -webkit-box-shadow: 1px 1px 3px 2px #78998E; box-shadow: 1px 1px 3px 2px #78998E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #78998E; -webkit-box-shadow: 1px 1px 3px 2px #78998E; box-shadow:1px 1px 3px 2px #78998E;">
Div content here</div>
This text has color #78998E on black background.
This text has color #78998E on white background.
This text has black color on #78998E background.
This text has white color on #78998E background.