HEX: #51506B
RGB: (81,80,107)
#51506B contains red, green and blue colors in about the same proportion. Web safe color of #51506B is #666666 (or #666).
#51506B color RGB value is (81,80,107).
RGB: (81,80,107)
(32%, 31%, 42%)
R 81 of 255 = 32%
G 80 of 255 = 31%
B 107 of 255 = 42%
R + G + B ~ 35%. #51506B is quite dark color.
R + G + B = 81 + 80 + 107 = 268 (100%)
R 81 of 268 ~ 30.22%
G 80 of 268 ~ 29.85%
B 107 of 268 ~ 39.93'%
#51506B color CMYK value is (24,25,0,58).
CMYK: (24,25,0,58)
C24M25Y0K58 (24%, 25%, 0%, 58%)
(0.24 / 0.25 / 0.00 / 0.58)
Color #51506B in popluar color models
51 | 50 | 6B | |
---|---|---|---|
RGB | 81 | 80 | 107 |
HSL | 242° | 14.44% | 36.67% |
HSB/HSV | 242° | 25.23% | 41.96% |
CMYK | 24.30% | 25.23% | 0.00% |
58.04% |
Color #51506B in popluar number systems.
HEX | 51 | 50 | 6B |
Decimal | 81 | 80 | 107 |
Binary | 1010001 | 1010000 | 1101011 |
Octal | 121 | 120 | 153 |
Shades of #51506B
Tints of #51506B
Examples of css and html codes for elements with #51506B color. Also use rgb(81,80,107) instead hex code.
.myTextColor { color: #51506B; }
<p style="color:#51506B">This sample text font color is #51506B.</p>
This text font color is #51506B.
.myBgColor { background-color: #51506B; }
<div style="background-color:#51506B">Inner text</div>
This div background color is #51506B.
.myBorderColor { border: 1px solid #51506B; }
<div style="border:3px solid #51506B">Div</div>
This div border color is #51506B.
.myOpacity80 { color: #51506B; opacity: 0.8; }
<p style="color:#51506B;opacity:0.8;">80%</p>
Text with #51506B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51506B;}
<p style="text-shadow: 3px 3px 1px #51506B">Text here.</p>
This text has shadow with #51506B color.
.textShadow {text-shadow: 3px 3px 1px #51506B', 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51506B, 5px 5px 20px red">Text here.</p>
This text has shadow with #51506B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51506B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51506B, Direction=45, Strength=4)">Text</p>
This text has shadow with #51506B and red colors in old Internet Explorer.
/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #51506B;
-webkit-box-shadow: 1px 1px 3px 2px #51506B;
box-shadow: 1px 1px 3px 2px #51506B;
}
/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #51506B; -webkit-box-shadow: 1px 1px 3px 2px #51506B; box-shadow:1px 1px 3px 2px #51506B;">
Div content here
</div>
This text has color #51506B on black background.
This text has color #51506B on white background.
This text has black color on #51506B background.
This text has white color on #51506B background.
Complementary color for #hex is #AEAF94.