HEX: #514958
RGB: (81,73,88)
#514958 contains red, green and blue colors in about the same proportion. Web safe color of #514958 is #663366 (or #636).
#514958 color RGB value is (81,73,88).
RGB: (81,73,88) (32%,29%,35%)
R 81 of 255 = 32%
G 73 of 255 = 29%
B 88 of 255 = 35%
R + G + B ~ 32%. #514958 is quite dark color.
R + G + B =
81 + 73 + 88 = 242 (100%)
R 81 of 242 ~ 33.47%
G 73 of 242 ~ 30.17%
B 88 of 242 ~ 36.36%
#514958 color CMYK value is (8,17,0,65).
CMYK: (8,17,0,65) C8M17Y0K65 (8%,17%,0%,65%) (0.08/0.17/0.00/0.65)
51 | 49 | 58 | |
---|---|---|---|
RGB | 81 | 73 | 88 |
HSL | 272° | 9.32% | 31.57% |
HSB/HSV | 272° | 17.05% | 34.51% |
CMYK | 7.95% | 17.05% | 0.00% |
65.49% |
HEX | 51 | 49 | 58 |
Decimal | 81 | 73 | 88 |
Binary | 1010001 | 1001001 | 1011000 |
Octal | 121 | 111 | 130 |
Examples of css and html codes for elements with #514958 color. Also use rgb(81,73,88) instead hex code.
.myTextColor { color: #514958; }
<p style="color:#514958">This sample text font color is #514958.</p>
This text font color is #514958.
.myBgColor { background-color: #514958; }
<div style="background-color:#514958">Inner text</div>
This div background color is #514958.
.myBorderColor { border: 1px solid #514958; }
<div style="border:3px solid #514958">Div</div>
This div border color is #514958.
.myOpacity80 { color: #514958; opacity: 0.8; }
<p style="color:#514958;opacity:0.8;">80%</p>
Text with #514958 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #514958;}
<p style="text-shadow: 3px 3px 1px #514958">Text here.</p>
This text has shadow with #514958 color.
.textShadow {text-shadow: 3px 3px 1px #514958, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #514958, 5px 5px 20px red">Text here.</p>
This text has shadow with #514958 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#514958, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#514958, Direction=45, Strength=4)">Text</p>
This text has shadow with #514958 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #514958; -webkit-box-shadow: 1px 1px 3px 2px #514958; box-shadow: 1px 1px 3px 2px #514958; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #514958; -webkit-box-shadow: 1px 1px 3px 2px #514958; box-shadow:1px 1px 3px 2px #514958;">
Div content here</div>
This text has color #514958 on black background.
This text has color #514958 on white background.
This text has black color on #514958 background.
This text has white color on #514958 background.