HEX: #513877
RGB: (81,56,119)
#513877 contains mainly red and blue colors. Web safe color of #513877 is #663366 (or #636).
#513877 color RGB value is (81,56,119).
RGB: (81,56,119) (32%,22%,47%)
R 81 of 255 = 32%
G 56 of 255 = 22%
B 119 of 255 = 47%
R + G + B ~ 34%. #513877 is quite dark color.
R + G + B =
81 + 56 + 119 = 256 (100%)
R 81 of 256 ~ 31.64%
G 56 of 256 ~ 21.88%
B 119 of 256 ~ 46.48%
#513877 color CMYK value is (32,53,0,53).
CMYK: (32,53,0,53) C32M53Y0K53 (32%,53%,0%,53%) (0.32/0.53/0.00/0.53)
51 | 38 | 77 | |
---|---|---|---|
RGB | 81 | 56 | 119 |
HSL | 264° | 36.00% | 34.31% |
HSB/HSV | 264° | 52.94% | 46.67% |
CMYK | 31.93% | 52.94% | 0.00% |
53.33% |
HEX | 51 | 38 | 77 |
Decimal | 81 | 56 | 119 |
Binary | 1010001 | 111000 | 1110111 |
Octal | 121 | 70 | 167 |
Examples of css and html codes for elements with #513877 color. Also use rgb(81,56,119) instead hex code.
.myTextColor { color: #513877; }
<p style="color:#513877">This sample text font color is #513877.</p>
This text font color is #513877.
.myBgColor { background-color: #513877; }
<div style="background-color:#513877">Inner text</div>
This div background color is #513877.
.myBorderColor { border: 1px solid #513877; }
<div style="border:3px solid #513877">Div</div>
This div border color is #513877.
.myOpacity80 { color: #513877; opacity: 0.8; }
<p style="color:#513877;opacity:0.8;">80%</p>
Text with #513877 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513877;}
<p style="text-shadow: 3px 3px 1px #513877">Text here.</p>
This text has shadow with #513877 color.
.textShadow {text-shadow: 3px 3px 1px #513877, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513877, 5px 5px 20px red">Text here.</p>
This text has shadow with #513877 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513877, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513877, Direction=45, Strength=4)">Text</p>
This text has shadow with #513877 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513877; -webkit-box-shadow: 1px 1px 3px 2px #513877; box-shadow: 1px 1px 3px 2px #513877; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513877; -webkit-box-shadow: 1px 1px 3px 2px #513877; box-shadow:1px 1px 3px 2px #513877;">
Div content here</div>
This text has color #513877 on black background.
This text has color #513877 on white background.
This text has black color on #513877 background.
This text has white color on #513877 background.