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