HEX: #477808
RGB: (71,120,8)
#477808 contains mainly red and green colors. Web safe color of #477808 is #336600 (or #360).
#477808 color RGB value is (71,120,8).
RGB: (71,120,8) (28%,47%,3%)
R 71 of 255 = 28%
G 120 of 255 = 47%
B 8 of 255 = 3%
R + G + B ~ 26%. #477808 is quite dark color.
R + G + B =
71 + 120 + 8 = 199 (100%)
R 71 of 199 ~ 35.68%
G 120 of 199 ~ 60.3%
B 8 of 199 ~ 4.02%
#477808 color CMYK value is (41,0,93,53).
CMYK: (41,0,93,53) C41M0Y93K53 (41%,0%,93%,53%) (0.41/0.00/0.93/0.53)
47 | 78 | 08 | |
---|---|---|---|
RGB | 71 | 120 | 8 |
HSL | 86° | 87.50% | 25.10% |
HSB/HSV | 86° | 93.33% | 47.06% |
CMYK | 40.83% | 0.00% | 93.33% |
52.94% |
HEX | 47 | 78 | 08 |
Decimal | 71 | 120 | 8 |
Binary | 1000111 | 1111000 | 1000 |
Octal | 107 | 170 | 10 |
Examples of css and html codes for elements with #477808 color. Also use rgb(71,120,8) instead hex code.
.myTextColor { color: #477808; }
<p style="color:#477808">This sample text font color is #477808.</p>
This text font color is #477808.
.myBgColor { background-color: #477808; }
<div style="background-color:#477808">Inner text</div>
This div background color is #477808.
.myBorderColor { border: 1px solid #477808; }
<div style="border:3px solid #477808">Div</div>
This div border color is #477808.
.myOpacity80 { color: #477808; opacity: 0.8; }
<p style="color:#477808;opacity:0.8;">80%</p>
Text with #477808 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #477808;}
<p style="text-shadow: 3px 3px 1px #477808">Text here.</p>
This text has shadow with #477808 color.
.textShadow {text-shadow: 3px 3px 1px #477808, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #477808, 5px 5px 20px red">Text here.</p>
This text has shadow with #477808 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#477808, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#477808, Direction=45, Strength=4)">Text</p>
This text has shadow with #477808 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #477808; -webkit-box-shadow: 1px 1px 3px 2px #477808; box-shadow: 1px 1px 3px 2px #477808; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #477808; -webkit-box-shadow: 1px 1px 3px 2px #477808; box-shadow:1px 1px 3px 2px #477808;">
Div content here</div>
This text has color #477808 on black background.
This text has color #477808 on white background.
This text has black color on #477808 background.
This text has white color on #477808 background.