HEX: #501D64
RGB: (80,29,100)
#501D64 contains mainly red and blue colors. Web safe color of #501D64 is #663366 (or #636).
#501D64 color RGB value is (80,29,100).
RGB: (80,29,100) (31%,11%,39%)
R 80 of 255 = 31%
G 29 of 255 = 11%
B 100 of 255 = 39%
R + G + B ~ 27%. #501D64 is quite dark color.
R + G + B =
80 + 29 + 100 = 209 (100%)
R 80 of 209 ~ 38.28%
G 29 of 209 ~ 13.88%
B 100 of 209 ~ 47.85%
#501D64 color CMYK value is (20,71,0,61).
CMYK: (20,71,0,61) C20M71Y0K61 (20%,71%,0%,61%) (0.20/0.71/0.00/0.61)
50 | 1D | 64 | |
---|---|---|---|
RGB | 80 | 29 | 100 |
HSL | 283° | 55.04% | 25.29% |
HSB/HSV | 283° | 71.00% | 39.22% |
CMYK | 20.00% | 71.00% | 0.00% |
60.78% |
HEX | 50 | 1D | 64 |
Decimal | 80 | 29 | 100 |
Binary | 1010000 | 11101 | 1100100 |
Octal | 120 | 35 | 144 |
Examples of css and html codes for elements with #501D64 color. Also use rgb(80,29,100) instead hex code.
.myTextColor { color: #501D64; }
<p style="color:#501D64">This sample text font color is #501D64.</p>
This text font color is #501D64.
.myBgColor { background-color: #501D64; }
<div style="background-color:#501D64">Inner text</div>
This div background color is #501D64.
.myBorderColor { border: 1px solid #501D64; }
<div style="border:3px solid #501D64">Div</div>
This div border color is #501D64.
.myOpacity80 { color: #501D64; opacity: 0.8; }
<p style="color:#501D64;opacity:0.8;">80%</p>
Text with #501D64 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501D64;}
<p style="text-shadow: 3px 3px 1px #501D64">Text here.</p>
This text has shadow with #501D64 color.
.textShadow {text-shadow: 3px 3px 1px #501D64, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501D64, 5px 5px 20px red">Text here.</p>
This text has shadow with #501D64 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501D64, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501D64, Direction=45, Strength=4)">Text</p>
This text has shadow with #501D64 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501D64; -webkit-box-shadow: 1px 1px 3px 2px #501D64; box-shadow: 1px 1px 3px 2px #501D64; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501D64; -webkit-box-shadow: 1px 1px 3px 2px #501D64; box-shadow:1px 1px 3px 2px #501D64;">
Div content here</div>
This text has color #501D64 on black background.
This text has color #501D64 on white background.
This text has black color on #501D64 background.
This text has white color on #501D64 background.