HEX: #513495
RGB: (81,52,149)
#513495 contains mainly blue color. Web safe color of #513495 is #663399 (or #639).
#513495 color RGB value is (81,52,149).
RGB: (81,52,149) (32%,20%,58%)
R 81 of 255 = 32%
G 52 of 255 = 20%
B 149 of 255 = 58%
R + G + B ~ 37%. #513495 is quite dark color.
R + G + B =
81 + 52 + 149 = 282 (100%)
R 81 of 282 ~ 28.72%
G 52 of 282 ~ 18.44%
B 149 of 282 ~ 52.84%
#513495 color CMYK value is (46,65,0,42).
CMYK: (46,65,0,42) C46M65Y0K42 (46%,65%,0%,42%) (0.46/0.65/0.00/0.42)
51 | 34 | 95 | |
---|---|---|---|
RGB | 81 | 52 | 149 |
HSL | 258° | 48.26% | 39.41% |
HSB/HSV | 258° | 65.10% | 58.43% |
CMYK | 45.64% | 65.10% | 0.00% |
41.57% |
HEX | 51 | 34 | 95 |
Decimal | 81 | 52 | 149 |
Binary | 1010001 | 110100 | 10010101 |
Octal | 121 | 64 | 225 |
Examples of css and html codes for elements with #513495 color. Also use rgb(81,52,149) instead hex code.
.myTextColor { color: #513495; }
<p style="color:#513495">This sample text font color is #513495.</p>
This text font color is #513495.
.myBgColor { background-color: #513495; }
<div style="background-color:#513495">Inner text</div>
This div background color is #513495.
.myBorderColor { border: 1px solid #513495; }
<div style="border:3px solid #513495">Div</div>
This div border color is #513495.
.myOpacity80 { color: #513495; opacity: 0.8; }
<p style="color:#513495;opacity:0.8;">80%</p>
Text with #513495 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513495;}
<p style="text-shadow: 3px 3px 1px #513495">Text here.</p>
This text has shadow with #513495 color.
.textShadow {text-shadow: 3px 3px 1px #513495, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513495, 5px 5px 20px red">Text here.</p>
This text has shadow with #513495 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513495, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513495, Direction=45, Strength=4)">Text</p>
This text has shadow with #513495 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513495; -webkit-box-shadow: 1px 1px 3px 2px #513495; box-shadow: 1px 1px 3px 2px #513495; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513495; -webkit-box-shadow: 1px 1px 3px 2px #513495; box-shadow:1px 1px 3px 2px #513495;">
Div content here</div>
This text has color #513495 on black background.
This text has color #513495 on white background.
This text has black color on #513495 background.
This text has white color on #513495 background.