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