HEX: #513E84
RGB: (81,62,132)
#513E84 contains mainly red and blue colors. Web safe color of #513E84 is #663399 (or #639).
#513E84 color RGB value is (81,62,132).
RGB: (81,62,132) (32%,24%,52%)
R 81 of 255 = 32%
G 62 of 255 = 24%
B 132 of 255 = 52%
R + G + B ~ 36%. #513E84 is quite dark color.
R + G + B =
81 + 62 + 132 = 275 (100%)
R 81 of 275 ~ 29.45%
G 62 of 275 ~ 22.55%
B 132 of 275 ~ 48%
#513E84 color CMYK value is (39,53,0,48).
CMYK: (39,53,0,48) C39M53Y0K48 (39%,53%,0%,48%) (0.39/0.53/0.00/0.48)
51 | 3E | 84 | |
---|---|---|---|
RGB | 81 | 62 | 132 |
HSL | 256° | 36.08% | 38.04% |
HSB/HSV | 256° | 53.03% | 51.76% |
CMYK | 38.64% | 53.03% | 0.00% |
48.24% |
HEX | 51 | 3E | 84 |
Decimal | 81 | 62 | 132 |
Binary | 1010001 | 111110 | 10000100 |
Octal | 121 | 76 | 204 |
Examples of css and html codes for elements with #513E84 color. Also use rgb(81,62,132) instead hex code.
.myTextColor { color: #513E84; }
<p style="color:#513E84">This sample text font color is #513E84.</p>
This text font color is #513E84.
.myBgColor { background-color: #513E84; }
<div style="background-color:#513E84">Inner text</div>
This div background color is #513E84.
.myBorderColor { border: 1px solid #513E84; }
<div style="border:3px solid #513E84">Div</div>
This div border color is #513E84.
.myOpacity80 { color: #513E84; opacity: 0.8; }
<p style="color:#513E84;opacity:0.8;">80%</p>
Text with #513E84 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #513E84;}
<p style="text-shadow: 3px 3px 1px #513E84">Text here.</p>
This text has shadow with #513E84 color.
.textShadow {text-shadow: 3px 3px 1px #513E84, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #513E84, 5px 5px 20px red">Text here.</p>
This text has shadow with #513E84 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#513E84, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#513E84, Direction=45, Strength=4)">Text</p>
This text has shadow with #513E84 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #513E84; -webkit-box-shadow: 1px 1px 3px 2px #513E84; box-shadow: 1px 1px 3px 2px #513E84; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #513E84; -webkit-box-shadow: 1px 1px 3px 2px #513E84; box-shadow:1px 1px 3px 2px #513E84;">
Div content here</div>
This text has color #513E84 on black background.
This text has color #513E84 on white background.
This text has black color on #513E84 background.
This text has white color on #513E84 background.