HEX: #513986
RGB: (81,57,134)
#513986 contains mainly red and blue colors. Web safe color of #513986 is #663399 (or #639).
#513986 color RGB value is (81,57,134).
RGB: (81,57,134) (32%,22%,53%)
R 81 of 255 = 32%
G 57 of 255 = 22%
B 134 of 255 = 53%
R + G + B ~ 36%. #513986 is quite dark color.
R + G + B =
81 + 57 + 134 = 272 (100%)
R 81 of 272 ~ 29.78%
G 57 of 272 ~ 20.96%
B 134 of 272 ~ 49.26%
#513986 color CMYK value is (40,57,0,47).
CMYK: (40,57,0,47) C40M57Y0K47 (40%,57%,0%,47%) (0.40/0.57/0.00/0.47)
51 | 39 | 86 | |
---|---|---|---|
RGB | 81 | 57 | 134 |
HSL | 259° | 40.31% | 37.45% |
HSB/HSV | 259° | 57.46% | 52.55% |
CMYK | 39.55% | 57.46% | 0.00% |
47.45% |
HEX | 51 | 39 | 86 |
Decimal | 81 | 57 | 134 |
Binary | 1010001 | 111001 | 10000110 |
Octal | 121 | 71 | 206 |
Examples of css and html codes for elements with #513986 color. Also use rgb(81,57,134) instead hex code.
.myTextColor { color: #513986; }
<p style="color:#513986">This sample text font color is #513986.</p>
This text font color is #513986.
.myBgColor { background-color: #513986; }
<div style="background-color:#513986">Inner text</div>
This div background color is #513986.
.myBorderColor { border: 1px solid #513986; }
<div style="border:3px solid #513986">Div</div>
This div border color is #513986.
.myOpacity80 { color: #513986; opacity: 0.8; }
<p style="color:#513986;opacity:0.8;">80%</p>
Text with #513986 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513986;}
<p style="text-shadow: 3px 3px 1px #513986">Text here.</p>
This text has shadow with #513986 color.
.textShadow {text-shadow: 3px 3px 1px #513986, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513986, 5px 5px 20px red">Text here.</p>
This text has shadow with #513986 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513986, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513986, Direction=45, Strength=4)">Text</p>
This text has shadow with #513986 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513986; -webkit-box-shadow: 1px 1px 3px 2px #513986; box-shadow: 1px 1px 3px 2px #513986; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513986; -webkit-box-shadow: 1px 1px 3px 2px #513986; box-shadow:1px 1px 3px 2px #513986;">
Div content here</div>
This text has color #513986 on black background.
This text has color #513986 on white background.
This text has black color on #513986 background.
This text has white color on #513986 background.