HEX: #787B84
RGB: (120,123,132)
#787B84 contains red, green and blue colors in about the same proportion. Web safe color of #787B84 is #666699 (or #669).
#787B84 color RGB value is (120,123,132).
RGB: (120,123,132) (47%,48%,52%)
R 120 of 255 = 47%
G 123 of 255 = 48%
B 132 of 255 = 52%
R + G + B ~ 49%. #787B84 is middle color (not dark and not light).
R + G + B =
120 + 123 + 132 = 375 (100%)
R 120 of 375 ~ 32%
G 123 of 375 ~ 32.8%
B 132 of 375 ~ 35.2%
#787B84 color CMYK value is (9,7,0,48).
CMYK: (9,7,0,48) C9M7Y0K48 (9%,7%,0%,48%) (0.09/0.07/0.00/0.48)
78 | 7B | 84 | |
---|---|---|---|
RGB | 120 | 123 | 132 |
HSL | 225° | 4.76% | 49.41% |
HSB/HSV | 225° | 9.09% | 51.76% |
CMYK | 9.09% | 6.82% | 0.00% |
48.24% |
HEX | 78 | 7B | 84 |
Decimal | 120 | 123 | 132 |
Binary | 1111000 | 1111011 | 10000100 |
Octal | 170 | 173 | 204 |
Examples of css and html codes for elements with #787B84 color. Also use rgb(120,123,132) instead hex code.
.myTextColor { color: #787B84; }
<p style="color:#787B84">This sample text font color is #787B84.</p>
This text font color is #787B84.
.myBgColor { background-color: #787B84; }
<div style="background-color:#787B84">Inner text</div>
This div background color is #787B84.
.myBorderColor { border: 1px solid #787B84; }
<div style="border:3px solid #787B84">Div</div>
This div border color is #787B84.
.myOpacity80 { color: #787B84; opacity: 0.8; }
<p style="color:#787B84;opacity:0.8;">80%</p>
Text with #787B84 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787B84;}
<p style="text-shadow: 3px 3px 1px #787B84">Text here.</p>
This text has shadow with #787B84 color.
.textShadow {text-shadow: 3px 3px 1px #787B84, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787B84, 5px 5px 20px red">Text here.</p>
This text has shadow with #787B84 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787B84, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787B84, Direction=45, Strength=4)">Text</p>
This text has shadow with #787B84 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787B84; -webkit-box-shadow: 1px 1px 3px 2px #787B84; box-shadow: 1px 1px 3px 2px #787B84; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787B84; -webkit-box-shadow: 1px 1px 3px 2px #787B84; box-shadow:1px 1px 3px 2px #787B84;">
Div content here</div>
This text has color #787B84 on black background.
This text has color #787B84 on white background.
This text has black color on #787B84 background.
This text has white color on #787B84 background.