HEX: #501D01
RGB: (80,29,1)
#501D01 contains mainly red and green colors. Web safe color of #501D01 is #663300 (or #630).
#501D01 color RGB value is (80,29,1).
RGB: (80,29,1) (31%,11%,0%)
R 80 of 255 = 31%
G 29 of 255 = 11%
B 1 of 255 = 0%
R + G + B ~ 14%. #501D01 is dark color.
R + G + B =
80 + 29 + 1 = 110 (100%)
R 80 of 110 ~ 72.73%
G 29 of 110 ~ 26.36%
B 1 of 110 ~ 0.91%
#501D01 color CMYK value is (0,64,99,69).
CMYK: (0,64,99,69) C0M64Y99K69 (0%,64%,99%,69%) (0.00/0.64/0.99/0.69)
50 | 1D | 01 | |
---|---|---|---|
RGB | 80 | 29 | 1 |
HSL | 21° | 97.53% | 15.88% |
HSB/HSV | 21° | 98.75% | 31.37% |
CMYK | 0.00% | 63.75% | 98.75% |
68.63% |
HEX | 50 | 1D | 01 |
Decimal | 80 | 29 | 1 |
Binary | 1010000 | 11101 | 1 |
Octal | 120 | 35 | 1 |
Examples of css and html codes for elements with #501D01 color. Also use rgb(80,29,1) instead hex code.
.myTextColor { color: #501D01; }
<p style="color:#501D01">This sample text font color is #501D01.</p>
This text font color is #501D01.
.myBgColor { background-color: #501D01; }
<div style="background-color:#501D01">Inner text</div>
This div background color is #501D01.
.myBorderColor { border: 1px solid #501D01; }
<div style="border:3px solid #501D01">Div</div>
This div border color is #501D01.
.myOpacity80 { color: #501D01; opacity: 0.8; }
<p style="color:#501D01;opacity:0.8;">80%</p>
Text with #501D01 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501D01;}
<p style="text-shadow: 3px 3px 1px #501D01">Text here.</p>
This text has shadow with #501D01 color.
.textShadow {text-shadow: 3px 3px 1px #501D01, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501D01, 5px 5px 20px red">Text here.</p>
This text has shadow with #501D01 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501D01, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501D01, Direction=45, Strength=4)">Text</p>
This text has shadow with #501D01 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501D01; -webkit-box-shadow: 1px 1px 3px 2px #501D01; box-shadow: 1px 1px 3px 2px #501D01; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501D01; -webkit-box-shadow: 1px 1px 3px 2px #501D01; box-shadow:1px 1px 3px 2px #501D01;">
Div content here</div>
This text has color #501D01 on black background.
This text has color #501D01 on white background.
This text has black color on #501D01 background.
This text has white color on #501D01 background.