HEX: #511332
RGB: (81,19,50)
#511332 contains mainly red and blue colors. Web safe color of #511332 is #660033 (or #603).
#511332 color RGB value is (81,19,50).
RGB: (81,19,50) (32%,7%,20%)
R 81 of 255 = 32%
G 19 of 255 = 7%
B 50 of 255 = 20%
R + G + B ~ 20%. #511332 is dark color.
R + G + B =
81 + 19 + 50 = 150 (100%)
R 81 of 150 ~ 54%
G 19 of 150 ~ 12.67%
B 50 of 150 ~ 33.33%
#511332 color CMYK value is (0,77,38,68).
CMYK: (0,77,38,68) C0M77Y38K68 (0%,77%,38%,68%) (0.00/0.77/0.38/0.68)
51 | 13 | 32 | |
---|---|---|---|
RGB | 81 | 19 | 50 |
HSL | 330° | 62.00% | 19.61% |
HSB/HSV | 330° | 76.54% | 31.76% |
CMYK | 0.00% | 76.54% | 38.27% |
68.24% |
HEX | 51 | 13 | 32 |
Decimal | 81 | 19 | 50 |
Binary | 1010001 | 10011 | 110010 |
Octal | 121 | 23 | 62 |
Examples of css and html codes for elements with #511332 color. Also use rgb(81,19,50) instead hex code.
.myTextColor { color: #511332; }
<p style="color:#511332">This sample text font color is #511332.</p>
This text font color is #511332.
.myBgColor { background-color: #511332; }
<div style="background-color:#511332">Inner text</div>
This div background color is #511332.
.myBorderColor { border: 1px solid #511332; }
<div style="border:3px solid #511332">Div</div>
This div border color is #511332.
.myOpacity80 { color: #511332; opacity: 0.8; }
<p style="color:#511332;opacity:0.8;">80%</p>
Text with #511332 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511332;}
<p style="text-shadow: 3px 3px 1px #511332">Text here.</p>
This text has shadow with #511332 color.
.textShadow {text-shadow: 3px 3px 1px #511332, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511332, 5px 5px 20px red">Text here.</p>
This text has shadow with #511332 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511332, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511332, Direction=45, Strength=4)">Text</p>
This text has shadow with #511332 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511332; -webkit-box-shadow: 1px 1px 3px 2px #511332; box-shadow: 1px 1px 3px 2px #511332; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511332; -webkit-box-shadow: 1px 1px 3px 2px #511332; box-shadow:1px 1px 3px 2px #511332;">
Div content here</div>
This text has color #511332 on black background.
This text has color #511332 on white background.
This text has black color on #511332 background.
This text has white color on #511332 background.