HEX: #51464E
RGB: (81,70,78)
#51464E contains red, green and blue colors in about the same proportion. Web safe color of #51464E is #663366 (or #636).
#51464E color RGB value is (81,70,78).
RGB: (81,70,78) (32%,27%,31%)
R 81 of 255 = 32%
G 70 of 255 = 27%
B 78 of 255 = 31%
R + G + B ~ 30%. #51464E is quite dark color.
R + G + B =
81 + 70 + 78 = 229 (100%)
R 81 of 229 ~ 35.37%
G 70 of 229 ~ 30.57%
B 78 of 229 ~ 34.06%
#51464E color CMYK value is (0,14,4,68).
CMYK: (0,14,4,68) C0M14Y4K68 (0%,14%,4%,68%) (0.00/0.14/0.04/0.68)
51 | 46 | 4E | |
---|---|---|---|
RGB | 81 | 70 | 78 |
HSL | 316° | 7.28% | 29.61% |
HSB/HSV | 316° | 13.58% | 31.76% |
CMYK | 0.00% | 13.58% | 3.70% |
68.24% |
HEX | 51 | 46 | 4E |
Decimal | 81 | 70 | 78 |
Binary | 1010001 | 1000110 | 1001110 |
Octal | 121 | 106 | 116 |
Examples of css and html codes for elements with #51464E color. Also use rgb(81,70,78) instead hex code.
.myTextColor { color: #51464E; }
<p style="color:#51464E">This sample text font color is #51464E.</p>
This text font color is #51464E.
.myBgColor { background-color: #51464E; }
<div style="background-color:#51464E">Inner text</div>
This div background color is #51464E.
.myBorderColor { border: 1px solid #51464E; }
<div style="border:3px solid #51464E">Div</div>
This div border color is #51464E.
.myOpacity80 { color: #51464E; opacity: 0.8; }
<p style="color:#51464E;opacity:0.8;">80%</p>
Text with #51464E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #51464E;}
<p style="text-shadow: 3px 3px 1px #51464E">Text here.</p>
This text has shadow with #51464E color.
.textShadow {text-shadow: 3px 3px 1px #51464E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #51464E, 5px 5px 20px red">Text here.</p>
This text has shadow with #51464E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#51464E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#51464E, Direction=45, Strength=4)">Text</p>
This text has shadow with #51464E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #51464E; -webkit-box-shadow: 1px 1px 3px 2px #51464E; box-shadow: 1px 1px 3px 2px #51464E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #51464E; -webkit-box-shadow: 1px 1px 3px 2px #51464E; box-shadow:1px 1px 3px 2px #51464E;">
Div content here</div>
This text has color #51464E on black background.
This text has color #51464E on white background.
This text has black color on #51464E background.
This text has white color on #51464E background.