HEX: #474808
RGB: (71,72,8)
#474808 contains mainly red and green colors. Web safe color of #474808 is #333300 (or #330).
#474808 color RGB value is (71,72,8).
RGB: (71,72,8) (28%,28%,3%)
R 71 of 255 = 28%
G 72 of 255 = 28%
B 8 of 255 = 3%
R + G + B ~ 20%. #474808 is dark color.
R + G + B =
71 + 72 + 8 = 151 (100%)
R 71 of 151 ~ 47.02%
G 72 of 151 ~ 47.68%
B 8 of 151 ~ 5.3%
#474808 color CMYK value is (1,0,89,72).
CMYK: (1,0,89,72) C1M0Y89K72 (1%,0%,89%,72%) (0.01/0.00/0.89/0.72)
47 | 48 | 08 | |
---|---|---|---|
RGB | 71 | 72 | 8 |
HSL | 61° | 80.00% | 15.69% |
HSB/HSV | 61° | 88.89% | 28.24% |
CMYK | 1.39% | 0.00% | 88.89% |
71.76% |
HEX | 47 | 48 | 08 |
Decimal | 71 | 72 | 8 |
Binary | 1000111 | 1001000 | 1000 |
Octal | 107 | 110 | 10 |
Examples of css and html codes for elements with #474808 color. Also use rgb(71,72,8) instead hex code.
.myTextColor { color: #474808; }
<p style="color:#474808">This sample text font color is #474808.</p>
This text font color is #474808.
.myBgColor { background-color: #474808; }
<div style="background-color:#474808">Inner text</div>
This div background color is #474808.
.myBorderColor { border: 1px solid #474808; }
<div style="border:3px solid #474808">Div</div>
This div border color is #474808.
.myOpacity80 { color: #474808; opacity: 0.8; }
<p style="color:#474808;opacity:0.8;">80%</p>
Text with #474808 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #474808;}
<p style="text-shadow: 3px 3px 1px #474808">Text here.</p>
This text has shadow with #474808 color.
.textShadow {text-shadow: 3px 3px 1px #474808, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #474808, 5px 5px 20px red">Text here.</p>
This text has shadow with #474808 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#474808, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#474808, Direction=45, Strength=4)">Text</p>
This text has shadow with #474808 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #474808; -webkit-box-shadow: 1px 1px 3px 2px #474808; box-shadow: 1px 1px 3px 2px #474808; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #474808; -webkit-box-shadow: 1px 1px 3px 2px #474808; box-shadow:1px 1px 3px 2px #474808;">
Div content here</div>
This text has color #474808 on black background.
This text has color #474808 on white background.
This text has black color on #474808 background.
This text has white color on #474808 background.