HEX: #5B587E
RGB: (91,88,126)
#5B587E contains red, green and blue colors in about the same proportion. Web safe color of #5B587E is #666666 (or #666).
#5B587E color RGB value is (91,88,126).
RGB: (91,88,126) (36%,35%,49%)
R 91 of 255 = 36%
G 88 of 255 = 35%
B 126 of 255 = 49%
R + G + B ~ 40%. #5B587E is middle color (not dark and not light).
R + G + B =
91 + 88 + 126 = 305 (100%)
R 91 of 305 ~ 29.84%
G 88 of 305 ~ 28.85%
B 126 of 305 ~ 41.31%
#5B587E color CMYK value is (28,30,0,51).
CMYK: (28,30,0,51) C28M30Y0K51 (28%,30%,0%,51%) (0.28/0.30/0.00/0.51)
5B | 58 | 7E | |
---|---|---|---|
RGB | 91 | 88 | 126 |
HSL | 245° | 17.76% | 41.96% |
HSB/HSV | 245° | 30.16% | 49.41% |
CMYK | 27.78% | 30.16% | 0.00% |
50.59% |
HEX | 5B | 58 | 7E |
Decimal | 91 | 88 | 126 |
Binary | 1011011 | 1011000 | 1111110 |
Octal | 133 | 130 | 176 |
Examples of css and html codes for elements with #5B587E color. Also use rgb(91,88,126) instead hex code.
.myTextColor { color: #5B587E; }
<p style="color:#5B587E">This sample text font color is #5B587E.</p>
This text font color is #5B587E.
.myBgColor { background-color: #5B587E; }
<div style="background-color:#5B587E">Inner text</div>
This div background color is #5B587E.
.myBorderColor { border: 1px solid #5B587E; }
<div style="border:3px solid #5B587E">Div</div>
This div border color is #5B587E.
.myOpacity80 { color: #5B587E; opacity: 0.8; }
<p style="color:#5B587E;opacity:0.8;">80%</p>
Text with #5B587E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B587E;}
<p style="text-shadow: 3px 3px 1px #5B587E">Text here.</p>
This text has shadow with #5B587E color.
.textShadow {text-shadow: 3px 3px 1px #5B587E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B587E, 5px 5px 20px red">Text here.</p>
This text has shadow with #5B587E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B587E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B587E, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B587E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B587E; -webkit-box-shadow: 1px 1px 3px 2px #5B587E; box-shadow: 1px 1px 3px 2px #5B587E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B587E; -webkit-box-shadow: 1px 1px 3px 2px #5B587E; box-shadow:1px 1px 3px 2px #5B587E;">
Div content here</div>
This text has color #5B587E on black background.
This text has color #5B587E on white background.
This text has black color on #5B587E background.
This text has white color on #5B587E background.