HEX: #786378
RGB: (120,99,120)
#786378 contains red, green and blue colors in about the same proportion. Web safe color of #786378 is #666666 (or #666).
#786378 color RGB value is (120,99,120).
RGB: (120,99,120) (47%,39%,47%)
R 120 of 255 = 47%
G 99 of 255 = 39%
B 120 of 255 = 47%
R + G + B ~ 44%. #786378 is middle color (not dark and not light).
R + G + B =
120 + 99 + 120 = 339 (100%)
R 120 of 339 ~ 35.4%
G 99 of 339 ~ 29.2%
B 120 of 339 ~ 35.4%
#786378 color CMYK value is (0,18,0,53).
CMYK: (0,18,0,53) C0M18Y0K53 (0%,18%,0%,53%) (0.00/0.18/0.00/0.53)
78 | 63 | 78 | |
---|---|---|---|
RGB | 120 | 99 | 120 |
HSL | 300° | 9.59% | 42.94% |
HSB/HSV | 300° | 17.50% | 47.06% |
CMYK | 0.00% | 17.50% | 0.00% |
52.94% |
HEX | 78 | 63 | 78 |
Decimal | 120 | 99 | 120 |
Binary | 1111000 | 1100011 | 1111000 |
Octal | 170 | 143 | 170 |
Examples of css and html codes for elements with #786378 color. Also use rgb(120,99,120) instead hex code.
.myTextColor { color: #786378; }
<p style="color:#786378">This sample text font color is #786378.</p>
This text font color is #786378.
.myBgColor { background-color: #786378; }
<div style="background-color:#786378">Inner text</div>
This div background color is #786378.
.myBorderColor { border: 1px solid #786378; }
<div style="border:3px solid #786378">Div</div>
This div border color is #786378.
.myOpacity80 { color: #786378; opacity: 0.8; }
<p style="color:#786378;opacity:0.8;">80%</p>
Text with #786378 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #786378;}
<p style="text-shadow: 3px 3px 1px #786378">Text here.</p>
This text has shadow with #786378 color.
.textShadow {text-shadow: 3px 3px 1px #786378, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #786378, 5px 5px 20px red">Text here.</p>
This text has shadow with #786378 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#786378, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#786378, Direction=45, Strength=4)">Text</p>
This text has shadow with #786378 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #786378; -webkit-box-shadow: 1px 1px 3px 2px #786378; box-shadow: 1px 1px 3px 2px #786378; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #786378; -webkit-box-shadow: 1px 1px 3px 2px #786378; box-shadow:1px 1px 3px 2px #786378;">
Div content here</div>
This text has color #786378 on black background.
This text has color #786378 on white background.
This text has black color on #786378 background.
This text has white color on #786378 background.