HEX: #501041
RGB: (80,16,65)
#501041 contains mainly red and blue colors. Web safe color of #501041 is #660033 (or #603).
#501041 color RGB value is (80,16,65).
RGB: (80,16,65) (31%,6%,25%)
R 80 of 255 = 31%
G 16 of 255 = 6%
B 65 of 255 = 25%
R + G + B ~ 21%. #501041 is dark color.
R + G + B =
80 + 16 + 65 = 161 (100%)
R 80 of 161 ~ 49.69%
G 16 of 161 ~ 9.94%
B 65 of 161 ~ 40.37%
#501041 color CMYK value is (0,80,19,69).
CMYK: (0,80,19,69) C0M80Y19K69 (0%,80%,19%,69%) (0.00/0.80/0.19/0.69)
50 | 10 | 41 | |
---|---|---|---|
RGB | 80 | 16 | 65 |
HSL | 314° | 66.67% | 18.82% |
HSB/HSV | 314° | 80.00% | 31.37% |
CMYK | 0.00% | 80.00% | 18.75% |
68.63% |
HEX | 50 | 10 | 41 |
Decimal | 80 | 16 | 65 |
Binary | 1010000 | 10000 | 1000001 |
Octal | 120 | 20 | 101 |
Examples of css and html codes for elements with #501041 color. Also use rgb(80,16,65) instead hex code.
.myTextColor { color: #501041; }
<p style="color:#501041">This sample text font color is #501041.</p>
This text font color is #501041.
.myBgColor { background-color: #501041; }
<div style="background-color:#501041">Inner text</div>
This div background color is #501041.
.myBorderColor { border: 1px solid #501041; }
<div style="border:3px solid #501041">Div</div>
This div border color is #501041.
.myOpacity80 { color: #501041; opacity: 0.8; }
<p style="color:#501041;opacity:0.8;">80%</p>
Text with #501041 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501041;}
<p style="text-shadow: 3px 3px 1px #501041">Text here.</p>
This text has shadow with #501041 color.
.textShadow {text-shadow: 3px 3px 1px #501041, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501041, 5px 5px 20px red">Text here.</p>
This text has shadow with #501041 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501041, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501041, Direction=45, Strength=4)">Text</p>
This text has shadow with #501041 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501041; -webkit-box-shadow: 1px 1px 3px 2px #501041; box-shadow: 1px 1px 3px 2px #501041; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501041; -webkit-box-shadow: 1px 1px 3px 2px #501041; box-shadow:1px 1px 3px 2px #501041;">
Div content here</div>
This text has color #501041 on black background.
This text has color #501041 on white background.
This text has black color on #501041 background.
This text has white color on #501041 background.