HEX: #501165
RGB: (80,17,101)
#501165 contains mainly red and blue colors. Web safe color of #501165 is #660066 (or #606).
#501165 color RGB value is (80,17,101).
RGB: (80,17,101) (31%,7%,40%)
R 80 of 255 = 31%
G 17 of 255 = 7%
B 101 of 255 = 40%
R + G + B ~ 26%. #501165 is quite dark color.
R + G + B =
80 + 17 + 101 = 198 (100%)
R 80 of 198 ~ 40.4%
G 17 of 198 ~ 8.59%
B 101 of 198 ~ 51.01%
#501165 color CMYK value is (21,83,0,60).
CMYK: (21,83,0,60) C21M83Y0K60 (21%,83%,0%,60%) (0.21/0.83/0.00/0.60)
50 | 11 | 65 | |
---|---|---|---|
RGB | 80 | 17 | 101 |
HSL | 285° | 71.19% | 23.14% |
HSB/HSV | 285° | 83.17% | 39.61% |
CMYK | 20.79% | 83.17% | 0.00% |
60.39% |
HEX | 50 | 11 | 65 |
Decimal | 80 | 17 | 101 |
Binary | 1010000 | 10001 | 1100101 |
Octal | 120 | 21 | 145 |
Examples of css and html codes for elements with #501165 color. Also use rgb(80,17,101) instead hex code.
.myTextColor { color: #501165; }
<p style="color:#501165">This sample text font color is #501165.</p>
This text font color is #501165.
.myBgColor { background-color: #501165; }
<div style="background-color:#501165">Inner text</div>
This div background color is #501165.
.myBorderColor { border: 1px solid #501165; }
<div style="border:3px solid #501165">Div</div>
This div border color is #501165.
.myOpacity80 { color: #501165; opacity: 0.8; }
<p style="color:#501165;opacity:0.8;">80%</p>
Text with #501165 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501165;}
<p style="text-shadow: 3px 3px 1px #501165">Text here.</p>
This text has shadow with #501165 color.
.textShadow {text-shadow: 3px 3px 1px #501165, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501165, 5px 5px 20px red">Text here.</p>
This text has shadow with #501165 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501165, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501165, Direction=45, Strength=4)">Text</p>
This text has shadow with #501165 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501165; -webkit-box-shadow: 1px 1px 3px 2px #501165; box-shadow: 1px 1px 3px 2px #501165; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501165; -webkit-box-shadow: 1px 1px 3px 2px #501165; box-shadow:1px 1px 3px 2px #501165;">
Div content here</div>
This text has color #501165 on black background.
This text has color #501165 on white background.
This text has black color on #501165 background.
This text has white color on #501165 background.