HEX: #511950
RGB: (81,25,80)
#511950 contains red, green and blue colors in about the same proportion. Web safe color of #511950 is #660066 (or #606).
#511950 color RGB value is (81,25,80).
RGB: (81,25,80) (32%,10%,31%)
R 81 of 255 = 32%
G 25 of 255 = 10%
B 80 of 255 = 31%
R + G + B ~ 24%. #511950 is dark color.
R + G + B =
81 + 25 + 80 = 186 (100%)
R 81 of 186 ~ 43.55%
G 25 of 186 ~ 13.44%
B 80 of 186 ~ 43.01%
#511950 color CMYK value is (0,69,1,68).
CMYK: (0,69,1,68) C0M69Y1K68 (0%,69%,1%,68%) (0.00/0.69/0.01/0.68)
51 | 19 | 50 | |
---|---|---|---|
RGB | 81 | 25 | 80 |
HSL | 301° | 52.83% | 20.78% |
HSB/HSV | 301° | 69.14% | 31.76% |
CMYK | 0.00% | 69.14% | 1.23% |
68.24% |
HEX | 51 | 19 | 50 |
Decimal | 81 | 25 | 80 |
Binary | 1010001 | 11001 | 1010000 |
Octal | 121 | 31 | 120 |
Examples of css and html codes for elements with #511950 color. Also use rgb(81,25,80) instead hex code.
.myTextColor { color: #511950; }
<p style="color:#511950">This sample text font color is #511950.</p>
This text font color is #511950.
.myBgColor { background-color: #511950; }
<div style="background-color:#511950">Inner text</div>
This div background color is #511950.
.myBorderColor { border: 1px solid #511950; }
<div style="border:3px solid #511950">Div</div>
This div border color is #511950.
.myOpacity80 { color: #511950; opacity: 0.8; }
<p style="color:#511950;opacity:0.8;">80%</p>
Text with #511950 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #511950;}
<p style="text-shadow: 3px 3px 1px #511950">Text here.</p>
This text has shadow with #511950 color.
.textShadow {text-shadow: 3px 3px 1px #511950, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #511950, 5px 5px 20px red">Text here.</p>
This text has shadow with #511950 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#511950, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#511950, Direction=45, Strength=4)">Text</p>
This text has shadow with #511950 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #511950; -webkit-box-shadow: 1px 1px 3px 2px #511950; box-shadow: 1px 1px 3px 2px #511950; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #511950; -webkit-box-shadow: 1px 1px 3px 2px #511950; box-shadow:1px 1px 3px 2px #511950;">
Div content here</div>
This text has color #511950 on black background.
This text has color #511950 on white background.
This text has black color on #511950 background.
This text has white color on #511950 background.