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