HEX: #59398E
RGB: (89,57,142)
#59398E contains mainly red and blue colors. Web safe color of #59398E is #663399 (or #639).
#59398E color RGB value is (89,57,142).
RGB: (89,57,142) (35%,22%,56%)
R 89 of 255 = 35%
G 57 of 255 = 22%
B 142 of 255 = 56%
R + G + B ~ 38%. #59398E is quite dark color.
R + G + B =
89 + 57 + 142 = 288 (100%)
R 89 of 288 ~ 30.9%
G 57 of 288 ~ 19.79%
B 142 of 288 ~ 49.31%
#59398E color CMYK value is (37,60,0,44).
CMYK: (37,60,0,44) C37M60Y0K44 (37%,60%,0%,44%) (0.37/0.60/0.00/0.44)
59 | 39 | 8E | |
---|---|---|---|
RGB | 89 | 57 | 142 |
HSL | 263° | 42.71% | 39.02% |
HSB/HSV | 263° | 59.86% | 55.69% |
CMYK | 37.32% | 59.86% | 0.00% |
44.31% |
HEX | 59 | 39 | 8E |
Decimal | 89 | 57 | 142 |
Binary | 1011001 | 111001 | 10001110 |
Octal | 131 | 71 | 216 |
Examples of css and html codes for elements with #59398E color. Also use rgb(89,57,142) instead hex code.
.myTextColor { color: #59398E; }
<p style="color:#59398E">This sample text font color is #59398E.</p>
This text font color is #59398E.
.myBgColor { background-color: #59398E; }
<div style="background-color:#59398E">Inner text</div>
This div background color is #59398E.
.myBorderColor { border: 1px solid #59398E; }
<div style="border:3px solid #59398E">Div</div>
This div border color is #59398E.
.myOpacity80 { color: #59398E; opacity: 0.8; }
<p style="color:#59398E;opacity:0.8;">80%</p>
Text with #59398E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #59398E;}
<p style="text-shadow: 3px 3px 1px #59398E">Text here.</p>
This text has shadow with #59398E color.
.textShadow {text-shadow: 3px 3px 1px #59398E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #59398E, 5px 5px 20px red">Text here.</p>
This text has shadow with #59398E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#59398E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#59398E, Direction=45, Strength=4)">Text</p>
This text has shadow with #59398E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #59398E; -webkit-box-shadow: 1px 1px 3px 2px #59398E; box-shadow: 1px 1px 3px 2px #59398E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #59398E; -webkit-box-shadow: 1px 1px 3px 2px #59398E; box-shadow:1px 1px 3px 2px #59398E;">
Div content here</div>
This text has color #59398E on black background.
This text has color #59398E on white background.
This text has black color on #59398E background.
This text has white color on #59398E background.