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