HEX: #5958B3
RGB: (89,88,179)
#5958B3 contains mainly blue color. Web safe color of #5958B3 is #666699 (or #669).
#5958B3 color RGB value is (89,88,179).
RGB: (89,88,179) (35%,35%,70%)
R 89 of 255 = 35%
G 88 of 255 = 35%
B 179 of 255 = 70%
R + G + B ~ 47%. #5958B3 is middle color (not dark and not light).
R + G + B =
89 + 88 + 179 = 356 (100%)
R 89 of 356 ~ 25%
G 88 of 356 ~ 24.72%
B 179 of 356 ~ 50.28%
#5958B3 color CMYK value is (50,51,0,30).
CMYK: (50,51,0,30) C50M51Y0K30 (50%,51%,0%,30%) (0.50/0.51/0.00/0.30)
59 | 58 | B3 | |
---|---|---|---|
RGB | 89 | 88 | 179 |
HSL | 241° | 37.45% | 52.35% |
HSB/HSV | 241° | 50.84% | 70.20% |
CMYK | 50.28% | 50.84% | 0.00% |
29.80% |
HEX | 59 | 58 | B3 |
Decimal | 89 | 88 | 179 |
Binary | 1011001 | 1011000 | 10110011 |
Octal | 131 | 130 | 263 |
Examples of css and html codes for elements with #5958B3 color. Also use rgb(89,88,179) instead hex code.
.myTextColor { color: #5958B3; }
<p style="color:#5958B3">This sample text font color is #5958B3.</p>
This text font color is #5958B3.
.myBgColor { background-color: #5958B3; }
<div style="background-color:#5958B3">Inner text</div>
This div background color is #5958B3.
.myBorderColor { border: 1px solid #5958B3; }
<div style="border:3px solid #5958B3">Div</div>
This div border color is #5958B3.
.myOpacity80 { color: #5958B3; opacity: 0.8; }
<p style="color:#5958B3;opacity:0.8;">80%</p>
Text with #5958B3 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5958B3;}
<p style="text-shadow: 3px 3px 1px #5958B3">Text here.</p>
This text has shadow with #5958B3 color.
.textShadow {text-shadow: 3px 3px 1px #5958B3, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5958B3, 5px 5px 20px red">Text here.</p>
This text has shadow with #5958B3 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5958B3, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5958B3, Direction=45, Strength=4)">Text</p>
This text has shadow with #5958B3 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5958B3; -webkit-box-shadow: 1px 1px 3px 2px #5958B3; box-shadow: 1px 1px 3px 2px #5958B3; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5958B3; -webkit-box-shadow: 1px 1px 3px 2px #5958B3; box-shadow:1px 1px 3px 2px #5958B3;">
Div content here</div>
This text has color #5958B3 on black background.
This text has color #5958B3 on white background.
This text has black color on #5958B3 background.
This text has white color on #5958B3 background.