HEX: #787496
RGB: (120,116,150)
#787496 contains red, green and blue colors in about the same proportion. Web safe color of #787496 is #666699 (or #669).
#787496 color RGB value is (120,116,150).
RGB: (120,116,150) (47%,45%,59%)
R 120 of 255 = 47%
G 116 of 255 = 45%
B 150 of 255 = 59%
R + G + B ~ 50%. #787496 is middle color (not dark and not light).
R + G + B =
120 + 116 + 150 = 386 (100%)
R 120 of 386 ~ 31.09%
G 116 of 386 ~ 30.05%
B 150 of 386 ~ 38.86%
#787496 color CMYK value is (20,23,0,41).
CMYK: (20,23,0,41) C20M23Y0K41 (20%,23%,0%,41%) (0.20/0.23/0.00/0.41)
78 | 74 | 96 | |
---|---|---|---|
RGB | 120 | 116 | 150 |
HSL | 247° | 13.93% | 52.16% |
HSB/HSV | 247° | 22.67% | 58.82% |
CMYK | 20.00% | 22.67% | 0.00% |
41.18% |
HEX | 78 | 74 | 96 |
Decimal | 120 | 116 | 150 |
Binary | 1111000 | 1110100 | 10010110 |
Octal | 170 | 164 | 226 |
Examples of css and html codes for elements with #787496 color. Also use rgb(120,116,150) instead hex code.
.myTextColor { color: #787496; }
<p style="color:#787496">This sample text font color is #787496.</p>
This text font color is #787496.
.myBgColor { background-color: #787496; }
<div style="background-color:#787496">Inner text</div>
This div background color is #787496.
.myBorderColor { border: 1px solid #787496; }
<div style="border:3px solid #787496">Div</div>
This div border color is #787496.
.myOpacity80 { color: #787496; opacity: 0.8; }
<p style="color:#787496;opacity:0.8;">80%</p>
Text with #787496 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #787496;}
<p style="text-shadow: 3px 3px 1px #787496">Text here.</p>
This text has shadow with #787496 color.
.textShadow {text-shadow: 3px 3px 1px #787496, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #787496, 5px 5px 20px red">Text here.</p>
This text has shadow with #787496 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#787496, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#787496, Direction=45, Strength=4)">Text</p>
This text has shadow with #787496 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #787496; -webkit-box-shadow: 1px 1px 3px 2px #787496; box-shadow: 1px 1px 3px 2px #787496; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #787496; -webkit-box-shadow: 1px 1px 3px 2px #787496; box-shadow:1px 1px 3px 2px #787496;">
Div content here</div>
This text has color #787496 on black background.
This text has color #787496 on white background.
This text has black color on #787496 background.
This text has white color on #787496 background.