HEX: #511447
RGB: (81,20,71)
#511447 contains mainly red and blue colors. Web safe color of #511447 is #660033 (or #603).
#511447 color RGB value is (81,20,71).
RGB: (81,20,71) (32%,8%,28%)
R 81 of 255 = 32%
G 20 of 255 = 8%
B 71 of 255 = 28%
R + G + B ~ 23%. #511447 is dark color.
R + G + B =
81 + 20 + 71 = 172 (100%)
R 81 of 172 ~ 47.09%
G 20 of 172 ~ 11.63%
B 71 of 172 ~ 41.28%
#511447 color CMYK value is (0,75,12,68).
CMYK: (0,75,12,68) C0M75Y12K68 (0%,75%,12%,68%) (0.00/0.75/0.12/0.68)
51 | 14 | 47 | |
---|---|---|---|
RGB | 81 | 20 | 71 |
HSL | 310° | 60.40% | 19.80% |
HSB/HSV | 310° | 75.31% | 31.76% |
CMYK | 0.00% | 75.31% | 12.35% |
68.24% |
HEX | 51 | 14 | 47 |
Decimal | 81 | 20 | 71 |
Binary | 1010001 | 10100 | 1000111 |
Octal | 121 | 24 | 107 |
Examples of css and html codes for elements with #511447 color. Also use rgb(81,20,71) instead hex code.
.myTextColor { color: #511447; }
<p style="color:#511447">This sample text font color is #511447.</p>
This text font color is #511447.
.myBgColor { background-color: #511447; }
<div style="background-color:#511447">Inner text</div>
This div background color is #511447.
.myBorderColor { border: 1px solid #511447; }
<div style="border:3px solid #511447">Div</div>
This div border color is #511447.
.myOpacity80 { color: #511447; opacity: 0.8; }
<p style="color:#511447;opacity:0.8;">80%</p>
Text with #511447 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511447;}
<p style="text-shadow: 3px 3px 1px #511447">Text here.</p>
This text has shadow with #511447 color.
.textShadow {text-shadow: 3px 3px 1px #511447, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511447, 5px 5px 20px red">Text here.</p>
This text has shadow with #511447 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511447, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511447, Direction=45, Strength=4)">Text</p>
This text has shadow with #511447 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511447; -webkit-box-shadow: 1px 1px 3px 2px #511447; box-shadow: 1px 1px 3px 2px #511447; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511447; -webkit-box-shadow: 1px 1px 3px 2px #511447; box-shadow:1px 1px 3px 2px #511447;">
Div content here</div>
This text has color #511447 on black background.
This text has color #511447 on white background.
This text has black color on #511447 background.
This text has white color on #511447 background.