HEX: #501327
RGB: (80,19,39)
#501327 contains mainly red and blue colors. Web safe color of #501327 is #660033 (or #603).
#501327 color RGB value is (80,19,39).
RGB: (80,19,39) (31%,7%,15%)
R 80 of 255 = 31%
G 19 of 255 = 7%
B 39 of 255 = 15%
R + G + B ~ 18%. #501327 is dark color.
R + G + B =
80 + 19 + 39 = 138 (100%)
R 80 of 138 ~ 57.97%
G 19 of 138 ~ 13.77%
B 39 of 138 ~ 28.26%
#501327 color CMYK value is (0,76,51,69).
CMYK: (0,76,51,69) C0M76Y51K69 (0%,76%,51%,69%) (0.00/0.76/0.51/0.69)
50 | 13 | 27 | |
---|---|---|---|
RGB | 80 | 19 | 39 |
HSL | 340° | 61.62% | 19.41% |
HSB/HSV | 340° | 76.25% | 31.37% |
CMYK | 0.00% | 76.25% | 51.25% |
68.63% |
HEX | 50 | 13 | 27 |
Decimal | 80 | 19 | 39 |
Binary | 1010000 | 10011 | 100111 |
Octal | 120 | 23 | 47 |
Examples of css and html codes for elements with #501327 color. Also use rgb(80,19,39) instead hex code.
.myTextColor { color: #501327; }
<p style="color:#501327">This sample text font color is #501327.</p>
This text font color is #501327.
.myBgColor { background-color: #501327; }
<div style="background-color:#501327">Inner text</div>
This div background color is #501327.
.myBorderColor { border: 1px solid #501327; }
<div style="border:3px solid #501327">Div</div>
This div border color is #501327.
.myOpacity80 { color: #501327; opacity: 0.8; }
<p style="color:#501327;opacity:0.8;">80%</p>
Text with #501327 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501327;}
<p style="text-shadow: 3px 3px 1px #501327">Text here.</p>
This text has shadow with #501327 color.
.textShadow {text-shadow: 3px 3px 1px #501327, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501327, 5px 5px 20px red">Text here.</p>
This text has shadow with #501327 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501327, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501327, Direction=45, Strength=4)">Text</p>
This text has shadow with #501327 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501327; -webkit-box-shadow: 1px 1px 3px 2px #501327; box-shadow: 1px 1px 3px 2px #501327; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501327; -webkit-box-shadow: 1px 1px 3px 2px #501327; box-shadow:1px 1px 3px 2px #501327;">
Div content here</div>
This text has color #501327 on black background.
This text has color #501327 on white background.
This text has black color on #501327 background.
This text has white color on #501327 background.