HEX: #789472
RGB: (120,148,114)
#789472 contains red, green and blue colors in about the same proportion. Web safe color of #789472 is #669966 (or #696).
#789472 color RGB value is (120,148,114).
RGB: (120,148,114) (47%,58%,45%)
R 120 of 255 = 47%
G 148 of 255 = 58%
B 114 of 255 = 45%
R + G + B ~ 50%. #789472 is middle color (not dark and not light).
R + G + B =
120 + 148 + 114 = 382 (100%)
R 120 of 382 ~ 31.41%
G 148 of 382 ~ 38.74%
B 114 of 382 ~ 29.84%
#789472 color CMYK value is (19,0,23,42).
CMYK: (19,0,23,42) C19M0Y23K42 (19%,0%,23%,42%) (0.19/0.00/0.23/0.42)
78 | 94 | 72 | |
---|---|---|---|
RGB | 120 | 148 | 114 |
HSL | 109° | 13.71% | 51.37% |
HSB/HSV | 109° | 22.97% | 58.04% |
CMYK | 18.92% | 0.00% | 22.97% |
41.96% |
HEX | 78 | 94 | 72 |
Decimal | 120 | 148 | 114 |
Binary | 1111000 | 10010100 | 1110010 |
Octal | 170 | 224 | 162 |
Examples of css and html codes for elements with #789472 color. Also use rgb(120,148,114) instead hex code.
.myTextColor { color: #789472; }
<p style="color:#789472">This sample text font color is #789472.</p>
This text font color is #789472.
.myBgColor { background-color: #789472; }
<div style="background-color:#789472">Inner text</div>
This div background color is #789472.
.myBorderColor { border: 1px solid #789472; }
<div style="border:3px solid #789472">Div</div>
This div border color is #789472.
.myOpacity80 { color: #789472; opacity: 0.8; }
<p style="color:#789472;opacity:0.8;">80%</p>
Text with #789472 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #789472;}
<p style="text-shadow: 3px 3px 1px #789472">Text here.</p>
This text has shadow with #789472 color.
.textShadow {text-shadow: 3px 3px 1px #789472, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #789472, 5px 5px 20px red">Text here.</p>
This text has shadow with #789472 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#789472, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#789472, Direction=45, Strength=4)">Text</p>
This text has shadow with #789472 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #789472; -webkit-box-shadow: 1px 1px 3px 2px #789472; box-shadow: 1px 1px 3px 2px #789472; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #789472; -webkit-box-shadow: 1px 1px 3px 2px #789472; box-shadow:1px 1px 3px 2px #789472;">
Div content here</div>
This text has color #789472 on black background.
This text has color #789472 on white background.
This text has black color on #789472 background.
This text has white color on #789472 background.