HEX: #78817B
RGB: (120,129,123)
#78817B contains red, green and blue colors in about the same proportion. Web safe color of #78817B is #669966 (or #696).
#78817B color RGB value is (120,129,123).
RGB: (120,129,123) (47%,51%,48%)
R 120 of 255 = 47%
G 129 of 255 = 51%
B 123 of 255 = 48%
R + G + B ~ 49%. #78817B is middle color (not dark and not light).
R + G + B =
120 + 129 + 123 = 372 (100%)
R 120 of 372 ~ 32.26%
G 129 of 372 ~ 34.68%
B 123 of 372 ~ 33.06%
#78817B color CMYK value is (7,0,5,49).
CMYK: (7,0,5,49) C7M0Y5K49 (7%,0%,5%,49%) (0.07/0.00/0.05/0.49)
78 | 81 | 7B | |
---|---|---|---|
RGB | 120 | 129 | 123 |
HSL | 140° | 3.61% | 48.82% |
HSB/HSV | 140° | 6.98% | 50.59% |
CMYK | 6.98% | 0.00% | 4.65% |
49.41% |
HEX | 78 | 81 | 7B |
Decimal | 120 | 129 | 123 |
Binary | 1111000 | 10000001 | 1111011 |
Octal | 170 | 201 | 173 |
Examples of css and html codes for elements with #78817B color. Also use rgb(120,129,123) instead hex code.
.myTextColor { color: #78817B; }
<p style="color:#78817B">This sample text font color is #78817B.</p>
This text font color is #78817B.
.myBgColor { background-color: #78817B; }
<div style="background-color:#78817B">Inner text</div>
This div background color is #78817B.
.myBorderColor { border: 1px solid #78817B; }
<div style="border:3px solid #78817B">Div</div>
This div border color is #78817B.
.myOpacity80 { color: #78817B; opacity: 0.8; }
<p style="color:#78817B;opacity:0.8;">80%</p>
Text with #78817B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #78817B;}
<p style="text-shadow: 3px 3px 1px #78817B">Text here.</p>
This text has shadow with #78817B color.
.textShadow {text-shadow: 3px 3px 1px #78817B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #78817B, 5px 5px 20px red">Text here.</p>
This text has shadow with #78817B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#78817B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#78817B, Direction=45, Strength=4)">Text</p>
This text has shadow with #78817B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #78817B; -webkit-box-shadow: 1px 1px 3px 2px #78817B; box-shadow: 1px 1px 3px 2px #78817B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #78817B; -webkit-box-shadow: 1px 1px 3px 2px #78817B; box-shadow:1px 1px 3px 2px #78817B;">
Div content here</div>
This text has color #78817B on black background.
This text has color #78817B on white background.
This text has black color on #78817B background.
This text has white color on #78817B background.