HEX: #478207
RGB: (71,130,7)
#478207 contains mainly red and green colors. Web safe color of #478207 is #339900 (or #390).
#478207 color RGB value is (71,130,7).
RGB: (71,130,7) (28%,51%,3%)
R 71 of 255 = 28%
G 130 of 255 = 51%
B 7 of 255 = 3%
R + G + B ~ 27%. #478207 is quite dark color.
R + G + B =
71 + 130 + 7 = 208 (100%)
R 71 of 208 ~ 34.13%
G 130 of 208 ~ 62.5%
B 7 of 208 ~ 3.37%
#478207 color CMYK value is (45,0,95,49).
CMYK: (45,0,95,49) C45M0Y95K49 (45%,0%,95%,49%) (0.45/0.00/0.95/0.49)
47 | 82 | 07 | |
---|---|---|---|
RGB | 71 | 130 | 7 |
HSL | 89° | 89.78% | 26.86% |
HSB/HSV | 89° | 94.62% | 50.98% |
CMYK | 45.38% | 0.00% | 94.62% |
49.02% |
HEX | 47 | 82 | 07 |
Decimal | 71 | 130 | 7 |
Binary | 1000111 | 10000010 | 111 |
Octal | 107 | 202 | 7 |
Examples of css and html codes for elements with #478207 color. Also use rgb(71,130,7) instead hex code.
.myTextColor { color: #478207; }
<p style="color:#478207">This sample text font color is #478207.</p>
This text font color is #478207.
.myBgColor { background-color: #478207; }
<div style="background-color:#478207">Inner text</div>
This div background color is #478207.
.myBorderColor { border: 1px solid #478207; }
<div style="border:3px solid #478207">Div</div>
This div border color is #478207.
.myOpacity80 { color: #478207; opacity: 0.8; }
<p style="color:#478207;opacity:0.8;">80%</p>
Text with #478207 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #478207;}
<p style="text-shadow: 3px 3px 1px #478207">Text here.</p>
This text has shadow with #478207 color.
.textShadow {text-shadow: 3px 3px 1px #478207, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #478207, 5px 5px 20px red">Text here.</p>
This text has shadow with #478207 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#478207, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#478207, Direction=45, Strength=4)">Text</p>
This text has shadow with #478207 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #478207; -webkit-box-shadow: 1px 1px 3px 2px #478207; box-shadow: 1px 1px 3px 2px #478207; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #478207; -webkit-box-shadow: 1px 1px 3px 2px #478207; box-shadow:1px 1px 3px 2px #478207;">
Div content here</div>
This text has color #478207 on black background.
This text has color #478207 on white background.
This text has black color on #478207 background.
This text has white color on #478207 background.