HEX: #514E6D
RGB: (81,78,109)
#514E6D contains red, green and blue colors in about the same proportion. Web safe color of #514E6D is #666666 (or #666).
#514E6D color RGB value is (81,78,109).
RGB: (81,78,109) (32%,31%,43%)
R 81 of 255 = 32%
G 78 of 255 = 31%
B 109 of 255 = 43%
R + G + B ~ 35%. #514E6D is quite dark color.
R + G + B =
81 + 78 + 109 = 268 (100%)
R 81 of 268 ~ 30.22%
G 78 of 268 ~ 29.1%
B 109 of 268 ~ 40.67%
#514E6D color CMYK value is (26,28,0,57).
CMYK: (26,28,0,57) C26M28Y0K57 (26%,28%,0%,57%) (0.26/0.28/0.00/0.57)
51 | 4E | 6D | |
---|---|---|---|
RGB | 81 | 78 | 109 |
HSL | 246° | 16.58% | 36.67% |
HSB/HSV | 246° | 28.44% | 42.75% |
CMYK | 25.69% | 28.44% | 0.00% |
57.25% |
HEX | 51 | 4E | 6D |
Decimal | 81 | 78 | 109 |
Binary | 1010001 | 1001110 | 1101101 |
Octal | 121 | 116 | 155 |
Examples of css and html codes for elements with #514E6D color. Also use rgb(81,78,109) instead hex code.
.myTextColor { color: #514E6D; }
<p style="color:#514E6D">This sample text font color is #514E6D.</p>
This text font color is #514E6D.
.myBgColor { background-color: #514E6D; }
<div style="background-color:#514E6D">Inner text</div>
This div background color is #514E6D.
.myBorderColor { border: 1px solid #514E6D; }
<div style="border:3px solid #514E6D">Div</div>
This div border color is #514E6D.
.myOpacity80 { color: #514E6D; opacity: 0.8; }
<p style="color:#514E6D;opacity:0.8;">80%</p>
Text with #514E6D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #514E6D;}
<p style="text-shadow: 3px 3px 1px #514E6D">Text here.</p>
This text has shadow with #514E6D color.
.textShadow {text-shadow: 3px 3px 1px #514E6D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #514E6D, 5px 5px 20px red">Text here.</p>
This text has shadow with #514E6D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#514E6D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#514E6D, Direction=45, Strength=4)">Text</p>
This text has shadow with #514E6D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #514E6D; -webkit-box-shadow: 1px 1px 3px 2px #514E6D; box-shadow: 1px 1px 3px 2px #514E6D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #514E6D; -webkit-box-shadow: 1px 1px 3px 2px #514E6D; box-shadow:1px 1px 3px 2px #514E6D;">
Div content here</div>
This text has color #514E6D on black background.
This text has color #514E6D on white background.
This text has black color on #514E6D background.
This text has white color on #514E6D background.