HEX: #476C10
RGB: (71,108,16)
#476C10 contains mainly red and green colors. Web safe color of #476C10 is #336600 (or #360).
#476C10 color RGB value is (71,108,16).
RGB: (71,108,16) (28%,42%,6%)
R 71 of 255 = 28%
G 108 of 255 = 42%
B 16 of 255 = 6%
R + G + B ~ 25%. #476C10 is quite dark color.
R + G + B =
71 + 108 + 16 = 195 (100%)
R 71 of 195 ~ 36.41%
G 108 of 195 ~ 55.38%
B 16 of 195 ~ 8.21%
#476C10 color CMYK value is (34,0,85,58).
CMYK: (34,0,85,58) C34M0Y85K58 (34%,0%,85%,58%) (0.34/0.00/0.85/0.58)
47 | 6C | 10 | |
---|---|---|---|
RGB | 71 | 108 | 16 |
HSL | 84° | 74.19% | 24.31% |
HSB/HSV | 84° | 85.19% | 42.35% |
CMYK | 34.26% | 0.00% | 85.19% |
57.65% |
HEX | 47 | 6C | 10 |
Decimal | 71 | 108 | 16 |
Binary | 1000111 | 1101100 | 10000 |
Octal | 107 | 154 | 20 |
Examples of css and html codes for elements with #476C10 color. Also use rgb(71,108,16) instead hex code.
.myTextColor { color: #476C10; }
<p style="color:#476C10">This sample text font color is #476C10.</p>
This text font color is #476C10.
.myBgColor { background-color: #476C10; }
<div style="background-color:#476C10">Inner text</div>
This div background color is #476C10.
.myBorderColor { border: 1px solid #476C10; }
<div style="border:3px solid #476C10">Div</div>
This div border color is #476C10.
.myOpacity80 { color: #476C10; opacity: 0.8; }
<p style="color:#476C10;opacity:0.8;">80%</p>
Text with #476C10 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #476C10;}
<p style="text-shadow: 3px 3px 1px #476C10">Text here.</p>
This text has shadow with #476C10 color.
.textShadow {text-shadow: 3px 3px 1px #476C10, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #476C10, 5px 5px 20px red">Text here.</p>
This text has shadow with #476C10 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#476C10, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#476C10, Direction=45, Strength=4)">Text</p>
This text has shadow with #476C10 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #476C10; -webkit-box-shadow: 1px 1px 3px 2px #476C10; box-shadow: 1px 1px 3px 2px #476C10; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #476C10; -webkit-box-shadow: 1px 1px 3px 2px #476C10; box-shadow:1px 1px 3px 2px #476C10;">
Div content here</div>
This text has color #476C10 on black background.
This text has color #476C10 on white background.
This text has black color on #476C10 background.
This text has white color on #476C10 background.