HEX: #511353
RGB: (81,19,83)
#511353 contains mainly red and blue colors. Web safe color of #511353 is #660066 (or #606).
#511353 color RGB value is (81,19,83).
RGB: (81,19,83) (32%,7%,33%)
R 81 of 255 = 32%
G 19 of 255 = 7%
B 83 of 255 = 33%
R + G + B ~ 24%. #511353 is dark color.
R + G + B =
81 + 19 + 83 = 183 (100%)
R 81 of 183 ~ 44.26%
G 19 of 183 ~ 10.38%
B 83 of 183 ~ 45.36%
#511353 color CMYK value is (2,77,0,67).
CMYK: (2,77,0,67) C2M77Y0K67 (2%,77%,0%,67%) (0.02/0.77/0.00/0.67)
51 | 13 | 53 | |
---|---|---|---|
RGB | 81 | 19 | 83 |
HSL | 298° | 62.75% | 20.00% |
HSB/HSV | 298° | 77.11% | 32.55% |
CMYK | 2.41% | 77.11% | 0.00% |
67.45% |
HEX | 51 | 13 | 53 |
Decimal | 81 | 19 | 83 |
Binary | 1010001 | 10011 | 1010011 |
Octal | 121 | 23 | 123 |
Examples of css and html codes for elements with #511353 color. Also use rgb(81,19,83) instead hex code.
.myTextColor { color: #511353; }
<p style="color:#511353">This sample text font color is #511353.</p>
This text font color is #511353.
.myBgColor { background-color: #511353; }
<div style="background-color:#511353">Inner text</div>
This div background color is #511353.
.myBorderColor { border: 1px solid #511353; }
<div style="border:3px solid #511353">Div</div>
This div border color is #511353.
.myOpacity80 { color: #511353; opacity: 0.8; }
<p style="color:#511353;opacity:0.8;">80%</p>
Text with #511353 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511353;}
<p style="text-shadow: 3px 3px 1px #511353">Text here.</p>
This text has shadow with #511353 color.
.textShadow {text-shadow: 3px 3px 1px #511353, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511353, 5px 5px 20px red">Text here.</p>
This text has shadow with #511353 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511353, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511353, Direction=45, Strength=4)">Text</p>
This text has shadow with #511353 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511353; -webkit-box-shadow: 1px 1px 3px 2px #511353; box-shadow: 1px 1px 3px 2px #511353; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511353; -webkit-box-shadow: 1px 1px 3px 2px #511353; box-shadow:1px 1px 3px 2px #511353;">
Div content here</div>
This text has color #511353 on black background.
This text has color #511353 on white background.
This text has black color on #511353 background.
This text has white color on #511353 background.