HEX: #5B756D
RGB: (91,117,109)
#5B756D contains red, green and blue colors in about the same proportion. Web safe color of #5B756D is #666666 (or #666).
#5B756D color RGB value is (91,117,109).
RGB: (91,117,109) (36%,46%,43%)
R 91 of 255 = 36%
G 117 of 255 = 46%
B 109 of 255 = 43%
R + G + B ~ 42%. #5B756D is middle color (not dark and not light).
R + G + B =
91 + 117 + 109 = 317 (100%)
R 91 of 317 ~ 28.71%
G 117 of 317 ~ 36.91%
B 109 of 317 ~ 34.38%
#5B756D color CMYK value is (22,0,7,54).
CMYK: (22,0,7,54) C22M0Y7K54 (22%,0%,7%,54%) (0.22/0.00/0.07/0.54)
5B | 75 | 6D | |
---|---|---|---|
RGB | 91 | 117 | 109 |
HSL | 162° | 12.50% | 40.78% |
HSB/HSV | 162° | 22.22% | 45.88% |
CMYK | 22.22% | 0.00% | 6.84% |
54.12% |
HEX | 5B | 75 | 6D |
Decimal | 91 | 117 | 109 |
Binary | 1011011 | 1110101 | 1101101 |
Octal | 133 | 165 | 155 |
Examples of css and html codes for elements with #5B756D color. Also use rgb(91,117,109) instead hex code.
.myTextColor { color: #5B756D; }
<p style="color:#5B756D">This sample text font color is #5B756D.</p>
This text font color is #5B756D.
.myBgColor { background-color: #5B756D; }
<div style="background-color:#5B756D">Inner text</div>
This div background color is #5B756D.
.myBorderColor { border: 1px solid #5B756D; }
<div style="border:3px solid #5B756D">Div</div>
This div border color is #5B756D.
.myOpacity80 { color: #5B756D; opacity: 0.8; }
<p style="color:#5B756D;opacity:0.8;">80%</p>
Text with #5B756D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #5B756D;}
<p style="text-shadow: 3px 3px 1px #5B756D">Text here.</p>
This text has shadow with #5B756D color.
.textShadow {text-shadow: 3px 3px 1px #5B756D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #5B756D, 5px 5px 20px red">Text here.</p>
This text has shadow with #5B756D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#5B756D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#5B756D, Direction=45, Strength=4)">Text</p>
This text has shadow with #5B756D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #5B756D; -webkit-box-shadow: 1px 1px 3px 2px #5B756D; box-shadow: 1px 1px 3px 2px #5B756D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #5B756D; -webkit-box-shadow: 1px 1px 3px 2px #5B756D; box-shadow:1px 1px 3px 2px #5B756D;">
Div content here</div>
This text has color #5B756D on black background.
This text has color #5B756D on white background.
This text has black color on #5B756D background.
This text has white color on #5B756D background.