HEX: #516489
RGB: (81,100,137)
#516489 contains red, green and blue colors in about the same proportion. Web safe color of #516489 is #666699 (or #669).
#516489 color RGB value is (81,100,137).
RGB: (81,100,137) (32%,39%,54%)
R 81 of 255 = 32%
G 100 of 255 = 39%
B 137 of 255 = 54%
R + G + B ~ 42%. #516489 is middle color (not dark and not light).
R + G + B =
81 + 100 + 137 = 318 (100%)
R 81 of 318 ~ 25.47%
G 100 of 318 ~ 31.45%
B 137 of 318 ~ 43.08%
#516489 color CMYK value is (41,27,0,46).
CMYK: (41,27,0,46) C41M27Y0K46 (41%,27%,0%,46%) (0.41/0.27/0.00/0.46)
51 | 64 | 89 | |
---|---|---|---|
RGB | 81 | 100 | 137 |
HSL | 220° | 25.69% | 42.75% |
HSB/HSV | 220° | 40.88% | 53.73% |
CMYK | 40.88% | 27.01% | 0.00% |
46.27% |
HEX | 51 | 64 | 89 |
Decimal | 81 | 100 | 137 |
Binary | 1010001 | 1100100 | 10001001 |
Octal | 121 | 144 | 211 |
Examples of css and html codes for elements with #516489 color. Also use rgb(81,100,137) instead hex code.
.myTextColor { color: #516489; }
<p style="color:#516489">This sample text font color is #516489.</p>
This text font color is #516489.
.myBgColor { background-color: #516489; }
<div style="background-color:#516489">Inner text</div>
This div background color is #516489.
.myBorderColor { border: 1px solid #516489; }
<div style="border:3px solid #516489">Div</div>
This div border color is #516489.
.myOpacity80 { color: #516489; opacity: 0.8; }
<p style="color:#516489;opacity:0.8;">80%</p>
Text with #516489 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #516489;}
<p style="text-shadow: 3px 3px 1px #516489">Text here.</p>
This text has shadow with #516489 color.
.textShadow {text-shadow: 3px 3px 1px #516489, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #516489, 5px 5px 20px red">Text here.</p>
This text has shadow with #516489 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#516489, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#516489, Direction=45, Strength=4)">Text</p>
This text has shadow with #516489 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #516489; -webkit-box-shadow: 1px 1px 3px 2px #516489; box-shadow: 1px 1px 3px 2px #516489; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #516489; -webkit-box-shadow: 1px 1px 3px 2px #516489; box-shadow:1px 1px 3px 2px #516489;">
Div content here</div>
This text has color #516489 on black background.
This text has color #516489 on white background.
This text has black color on #516489 background.
This text has white color on #516489 background.