HEX: #788789
RGB: (120,135,137)
#788789 contains red, green and blue colors in about the same proportion. Web safe color of #788789 is #669999 (or #699).
#788789 color RGB value is (120,135,137).
RGB: (120,135,137) (47%,53%,54%)
R 120 of 255 = 47%
G 135 of 255 = 53%
B 137 of 255 = 54%
R + G + B ~ 51%. #788789 is middle color (not dark and not light).
R + G + B =
120 + 135 + 137 = 392 (100%)
R 120 of 392 ~ 30.61%
G 135 of 392 ~ 34.44%
B 137 of 392 ~ 34.95%
#788789 color CMYK value is (12,1,0,46).
CMYK: (12,1,0,46) C12M1Y0K46 (12%,1%,0%,46%) (0.12/0.01/0.00/0.46)
78 | 87 | 89 | |
---|---|---|---|
RGB | 120 | 135 | 137 |
HSL | 187° | 6.72% | 50.39% |
HSB/HSV | 187° | 12.41% | 53.73% |
CMYK | 12.41% | 1.46% | 0.00% |
46.27% |
HEX | 78 | 87 | 89 |
Decimal | 120 | 135 | 137 |
Binary | 1111000 | 10000111 | 10001001 |
Octal | 170 | 207 | 211 |
Examples of css and html codes for elements with #788789 color. Also use rgb(120,135,137) instead hex code.
.myTextColor { color: #788789; }
<p style="color:#788789">This sample text font color is #788789.</p>
This text font color is #788789.
.myBgColor { background-color: #788789; }
<div style="background-color:#788789">Inner text</div>
This div background color is #788789.
.myBorderColor { border: 1px solid #788789; }
<div style="border:3px solid #788789">Div</div>
This div border color is #788789.
.myOpacity80 { color: #788789; opacity: 0.8; }
<p style="color:#788789;opacity:0.8;">80%</p>
Text with #788789 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #788789;}
<p style="text-shadow: 3px 3px 1px #788789">Text here.</p>
This text has shadow with #788789 color.
.textShadow {text-shadow: 3px 3px 1px #788789, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #788789, 5px 5px 20px red">Text here.</p>
This text has shadow with #788789 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#788789, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#788789, Direction=45, Strength=4)">Text</p>
This text has shadow with #788789 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #788789; -webkit-box-shadow: 1px 1px 3px 2px #788789; box-shadow: 1px 1px 3px 2px #788789; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #788789; -webkit-box-shadow: 1px 1px 3px 2px #788789; box-shadow:1px 1px 3px 2px #788789;">
Div content here</div>
This text has color #788789 on black background.
This text has color #788789 on white background.
This text has black color on #788789 background.
This text has white color on #788789 background.