HEX: #604996
RGB: (96,73,150)
#604996 contains mainly red and blue colors. Web safe color of #604996 is #663399 (or #639).
#604996 color RGB value is (96,73,150).
RGB: (96,73,150) (38%,29%,59%)
R 96 of 255 = 38%
G 73 of 255 = 29%
B 150 of 255 = 59%
R + G + B ~ 42%. #604996 is middle color (not dark and not light).
R + G + B =
96 + 73 + 150 = 319 (100%)
R 96 of 319 ~ 30.09%
G 73 of 319 ~ 22.88%
B 150 of 319 ~ 47.02%
#604996 color CMYK value is (36,51,0,41).
CMYK: (36,51,0,41) C36M51Y0K41 (36%,51%,0%,41%) (0.36/0.51/0.00/0.41)
60 | 49 | 96 | |
---|---|---|---|
RGB | 96 | 73 | 150 |
HSL | 258° | 34.53% | 43.73% |
HSB/HSV | 258° | 51.33% | 58.82% |
CMYK | 36.00% | 51.33% | 0.00% |
41.18% |
HEX | 60 | 49 | 96 |
Decimal | 96 | 73 | 150 |
Binary | 1100000 | 1001001 | 10010110 |
Octal | 140 | 111 | 226 |
Examples of css and html codes for elements with #604996 color. Also use rgb(96,73,150) instead hex code.
.myTextColor { color: #604996; }
<p style="color:#604996">This sample text font color is #604996.</p>
This text font color is #604996.
.myBgColor { background-color: #604996; }
<div style="background-color:#604996">Inner text</div>
This div background color is #604996.
.myBorderColor { border: 1px solid #604996; }
<div style="border:3px solid #604996">Div</div>
This div border color is #604996.
.myOpacity80 { color: #604996; opacity: 0.8; }
<p style="color:#604996;opacity:0.8;">80%</p>
Text with #604996 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #604996;}
<p style="text-shadow: 3px 3px 1px #604996">Text here.</p>
This text has shadow with #604996 color.
.textShadow {text-shadow: 3px 3px 1px #604996, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #604996, 5px 5px 20px red">Text here.</p>
This text has shadow with #604996 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#604996, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#604996, Direction=45, Strength=4)">Text</p>
This text has shadow with #604996 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #604996; -webkit-box-shadow: 1px 1px 3px 2px #604996; box-shadow: 1px 1px 3px 2px #604996; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #604996; -webkit-box-shadow: 1px 1px 3px 2px #604996; box-shadow:1px 1px 3px 2px #604996;">
Div content here</div>
This text has color #604996 on black background.
This text has color #604996 on white background.
This text has black color on #604996 background.
This text has white color on #604996 background.