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