HEX: #787892
RGB: (120,120,146)
#787892 contains red, green and blue colors in about the same proportion. Web safe color of #787892 is #666699 (or #669).
#787892 color RGB value is (120,120,146).
RGB: (120,120,146) (47%,47%,57%)
R 120 of 255 = 47%
G 120 of 255 = 47%
B 146 of 255 = 57%
R + G + B ~ 50%. #787892 is middle color (not dark and not light).
R + G + B =
120 + 120 + 146 = 386 (100%)
R 120 of 386 ~ 31.09%
G 120 of 386 ~ 31.09%
B 146 of 386 ~ 37.82%
#787892 color CMYK value is (18,18,0,43).
CMYK: (18,18,0,43) C18M18Y0K43 (18%,18%,0%,43%) (0.18/0.18/0.00/0.43)
78 | 78 | 92 | |
---|---|---|---|
RGB | 120 | 120 | 146 |
HSL | 240° | 10.66% | 52.16% |
HSB/HSV | 240° | 17.81% | 57.25% |
CMYK | 17.81% | 17.81% | 0.00% |
42.75% |
HEX | 78 | 78 | 92 |
Decimal | 120 | 120 | 146 |
Binary | 1111000 | 1111000 | 10010010 |
Octal | 170 | 170 | 222 |
Examples of css and html codes for elements with #787892 color. Also use rgb(120,120,146) instead hex code.
.myTextColor { color: #787892; }
<p style="color:#787892">This sample text font color is #787892.</p>
This text font color is #787892.
.myBgColor { background-color: #787892; }
<div style="background-color:#787892">Inner text</div>
This div background color is #787892.
.myBorderColor { border: 1px solid #787892; }
<div style="border:3px solid #787892">Div</div>
This div border color is #787892.
.myOpacity80 { color: #787892; opacity: 0.8; }
<p style="color:#787892;opacity:0.8;">80%</p>
Text with #787892 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787892;}
<p style="text-shadow: 3px 3px 1px #787892">Text here.</p>
This text has shadow with #787892 color.
.textShadow {text-shadow: 3px 3px 1px #787892, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787892, 5px 5px 20px red">Text here.</p>
This text has shadow with #787892 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787892, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787892, Direction=45, Strength=4)">Text</p>
This text has shadow with #787892 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787892; -webkit-box-shadow: 1px 1px 3px 2px #787892; box-shadow: 1px 1px 3px 2px #787892; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787892; -webkit-box-shadow: 1px 1px 3px 2px #787892; box-shadow:1px 1px 3px 2px #787892;">
Div content here</div>
This text has color #787892 on black background.
This text has color #787892 on white background.
This text has black color on #787892 background.
This text has white color on #787892 background.