HEX: #51597E
RGB: (81,89,126)
#51597E contains red, green and blue colors in about the same proportion. Web safe color of #51597E is #666666 (or #666).
#51597E color RGB value is (81,89,126).
RGB: (81,89,126)
(32%, 35%, 49%)
R 81 of 255 = 32%
G 89 of 255 = 35%
B 126 of 255 = 49%
R + G + B ~ 39%. #51597E is quite dark color.
R + G + B = 81 + 89 + 126 = 296 (100%)
R 81 of 296 ~ 27.36%
G 89 of 296 ~ 30.07%
B 126 of 296 ~ 42.57'%
#51597E color CMYK value is (36,29,0,51).
CMYK: (36,29,0,51) C36M29Y0K51 (36%,29%,0%,51%) (0.36/0.29/0.00/0.51)
Color #51597E in popluar color models
51 | 59 | 7E | |
---|---|---|---|
RGB | 81 | 89 | 126 |
HSL | 229° | 21.74% | 40.59% |
HSB/HSV | 229° | 35.71% | 49.41% |
CMYK | 35.71% | 29.37% | 0.00% |
50.59% |
Color #51597E in popluar number systems.
HEX | 51 | 59 | 7E |
Decimal | 81 | 89 | 126 |
Binary | 1010001 | 1011001 | 1111110 |
Octal | 121 | 131 | 176 |
Shades of #51597E
Tints of #51597E
Examples of css and html codes for elements with #51597E color. Also use rgb(81,89,126) instead hex code.
.myTextColor { color: #51597E; }
<p style="color:#51597E">This sample text font color is #51597E.</p>
This text font color is #51597E.
.myBgColor { background-color: #51597E; }
<div style="background-color:#51597E">Inner text</div>
This div background color is #51597E.
.myBorderColor { border: 1px solid #51597E; }
<div style="border:3px solid #51597E">Div</div>
This div border color is #51597E.
.myOpacity80 { color: #51597E; opacity: 0.8; }
<p style="color:#51597E;opacity:0.8;">80%</p>
Text with #51597E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51597E;}
<p style="text-shadow: 3px 3px 1px #51597E">Text here.</p>
This text has shadow with #51597E color.
.textShadow {text-shadow: 3px 3px 1px #51597E', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51597E, 5px 5px 20px red">Text here.</p>
This text has shadow with #51597E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51597E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51597E, Direction=45, Strength=4)">Text</p>
This text has shadow with #51597E and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #51597E;
-webkit-box-shadow: 1px 1px 3px 2px #51597E;
box-shadow: 1px 1px 3px 2px #51597E;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #51597E; -webkit-box-shadow: 1px 1px 3px 2px #51597E; box-shadow:1px 1px 3px 2px #51597E;">
Div content here
</div>
This text has color #51597E on black background.
This text has color #51597E on white background.
This text has black color on #51597E background.
This text has white color on #51597E background.
Complementary color for #hex is #AEA681.