HEX: #501906
RGB: (80,25,6)
#501906 contains mainly red and green colors. Web safe color of #501906 is #660000 (or #600).
#501906 color RGB value is (80,25,6).
RGB: (80,25,6) (31%,10%,2%)
R 80 of 255 = 31%
G 25 of 255 = 10%
B 6 of 255 = 2%
R + G + B ~ 14%. #501906 is dark color.
R + G + B =
80 + 25 + 6 = 111 (100%)
R 80 of 111 ~ 72.07%
G 25 of 111 ~ 22.52%
B 6 of 111 ~ 5.41%
#501906 color CMYK value is (0,69,93,69).
CMYK: (0,69,93,69) C0M69Y93K69 (0%,69%,93%,69%) (0.00/0.69/0.93/0.69)
50 | 19 | 06 | |
---|---|---|---|
RGB | 80 | 25 | 6 |
HSL | 15° | 86.05% | 16.86% |
HSB/HSV | 15° | 92.50% | 31.37% |
CMYK | 0.00% | 68.75% | 92.50% |
68.63% |
HEX | 50 | 19 | 06 |
Decimal | 80 | 25 | 6 |
Binary | 1010000 | 11001 | 110 |
Octal | 120 | 31 | 6 |
Examples of css and html codes for elements with #501906 color. Also use rgb(80,25,6) instead hex code.
.myTextColor { color: #501906; }
<p style="color:#501906">This sample text font color is #501906.</p>
This text font color is #501906.
.myBgColor { background-color: #501906; }
<div style="background-color:#501906">Inner text</div>
This div background color is #501906.
.myBorderColor { border: 1px solid #501906; }
<div style="border:3px solid #501906">Div</div>
This div border color is #501906.
.myOpacity80 { color: #501906; opacity: 0.8; }
<p style="color:#501906;opacity:0.8;">80%</p>
Text with #501906 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #501906;}
<p style="text-shadow: 3px 3px 1px #501906">Text here.</p>
This text has shadow with #501906 color.
.textShadow {text-shadow: 3px 3px 1px #501906, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #501906, 5px 5px 20px red">Text here.</p>
This text has shadow with #501906 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#501906, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#501906, Direction=45, Strength=4)">Text</p>
This text has shadow with #501906 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #501906; -webkit-box-shadow: 1px 1px 3px 2px #501906; box-shadow: 1px 1px 3px 2px #501906; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #501906; -webkit-box-shadow: 1px 1px 3px 2px #501906; box-shadow:1px 1px 3px 2px #501906;">
Div content here</div>
This text has color #501906 on black background.
This text has color #501906 on white background.
This text has black color on #501906 background.
This text has white color on #501906 background.