HEX: #784896
RGB: (120,72,150)
#784896 contains mainly red and blue colors. Web safe color of #784896 is #663399 (or #639).
#784896 color RGB value is (120,72,150).
RGB: (120,72,150) (47%,28%,59%)
R 120 of 255 = 47%
G 72 of 255 = 28%
B 150 of 255 = 59%
R + G + B ~ 45%. #784896 is middle color (not dark and not light).
R + G + B =
120 + 72 + 150 = 342 (100%)
R 120 of 342 ~ 35.09%
G 72 of 342 ~ 21.05%
B 150 of 342 ~ 43.86%
#784896 color CMYK value is (20,52,0,41).
CMYK: (20,52,0,41) C20M52Y0K41 (20%,52%,0%,41%) (0.20/0.52/0.00/0.41)
78 | 48 | 96 | |
---|---|---|---|
RGB | 120 | 72 | 150 |
HSL | 277° | 35.14% | 43.53% |
HSB/HSV | 277° | 52.00% | 58.82% |
CMYK | 20.00% | 52.00% | 0.00% |
41.18% |
HEX | 78 | 48 | 96 |
Decimal | 120 | 72 | 150 |
Binary | 1111000 | 1001000 | 10010110 |
Octal | 170 | 110 | 226 |
Examples of css and html codes for elements with #784896 color. Also use rgb(120,72,150) instead hex code.
.myTextColor { color: #784896; }
<p style="color:#784896">This sample text font color is #784896.</p>
This text font color is #784896.
.myBgColor { background-color: #784896; }
<div style="background-color:#784896">Inner text</div>
This div background color is #784896.
.myBorderColor { border: 1px solid #784896; }
<div style="border:3px solid #784896">Div</div>
This div border color is #784896.
.myOpacity80 { color: #784896; opacity: 0.8; }
<p style="color:#784896;opacity:0.8;">80%</p>
Text with #784896 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #784896;}
<p style="text-shadow: 3px 3px 1px #784896">Text here.</p>
This text has shadow with #784896 color.
.textShadow {text-shadow: 3px 3px 1px #784896, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #784896, 5px 5px 20px red">Text here.</p>
This text has shadow with #784896 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#784896, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#784896, Direction=45, Strength=4)">Text</p>
This text has shadow with #784896 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #784896; -webkit-box-shadow: 1px 1px 3px 2px #784896; box-shadow: 1px 1px 3px 2px #784896; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #784896; -webkit-box-shadow: 1px 1px 3px 2px #784896; box-shadow:1px 1px 3px 2px #784896;">
Div content here</div>
This text has color #784896 on black background.
This text has color #784896 on white background.
This text has black color on #784896 background.
This text has white color on #784896 background.