HEX: #047906
RGB: (4,121,6)
#047906 contains mainly green color. Web safe color of #047906 is #006600 (or #060).
#047906 color RGB value is (4,121,6).
RGB: (4,121,6) (2%,47%,2%)
R 4 of 255 = 2%
G 121 of 255 = 47%
B 6 of 255 = 2%
R + G + B ~ 17%. #047906 is dark color.
R + G + B =
4 + 121 + 6 = 131 (100%)
R 4 of 131 ~ 3.05%
G 121 of 131 ~ 92.37%
B 6 of 131 ~ 4.58%
#047906 color CMYK value is (97,0,95,53).
CMYK: (97,0,95,53) C97M0Y95K53 (97%,0%,95%,53%) (0.97/0.00/0.95/0.53)
04 | 79 | 06 | |
---|---|---|---|
RGB | 4 | 121 | 6 |
HSL | 121° | 93.60% | 24.51% |
HSB/HSV | 121° | 96.69% | 47.45% |
CMYK | 96.69% | 0.00% | 95.04% |
52.55% |
HEX | 04 | 79 | 06 |
Decimal | 4 | 121 | 6 |
Binary | 100 | 1111001 | 110 |
Octal | 4 | 171 | 6 |
Examples of css and html codes for elements with #047906 color. Also use rgb(4,121,6) instead hex code.
.myTextColor { color: #047906; }
<p style="color:#047906">This sample text font color is #047906.</p>
This text font color is #047906.
.myBgColor { background-color: #047906; }
<div style="background-color:#047906">Inner text</div>
This div background color is #047906.
.myBorderColor { border: 1px solid #047906; }
<div style="border:3px solid #047906">Div</div>
This div border color is #047906.
.myOpacity80 { color: #047906; opacity: 0.8; }
<p style="color:#047906;opacity:0.8;">80%</p>
Text with #047906 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #047906;}
<p style="text-shadow: 3px 3px 1px #047906">Text here.</p>
This text has shadow with #047906 color.
.textShadow {text-shadow: 3px 3px 1px #047906, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #047906, 5px 5px 20px red">Text here.</p>
This text has shadow with #047906 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#047906, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#047906, Direction=45, Strength=4)">Text</p>
This text has shadow with #047906 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #047906; -webkit-box-shadow: 1px 1px 3px 2px #047906; box-shadow: 1px 1px 3px 2px #047906; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #047906; -webkit-box-shadow: 1px 1px 3px 2px #047906; box-shadow:1px 1px 3px 2px #047906;">
Div content here</div>
This text has color #047906 on black background.
This text has color #047906 on white background.
This text has black color on #047906 background.
This text has white color on #047906 background.