HEX: #074C04
RGB: (7,76,4)
#074C04 contains mainly green color. Web safe color of #074C04 is #003300 (or #030).
#074C04 color RGB value is (7,76,4).
RGB: (7,76,4) (3%,30%,2%)
R 7 of 255 = 3%
G 76 of 255 = 30%
B 4 of 255 = 2%
R + G + B ~ 12%. #074C04 is dark color.
R + G + B =
7 + 76 + 4 = 87 (100%)
R 7 of 87 ~ 8.05%
G 76 of 87 ~ 87.36%
B 4 of 87 ~ 4.6%
#074C04 color CMYK value is (91,0,95,70).
CMYK: (91,0,95,70) C91M0Y95K70 (91%,0%,95%,70%) (0.91/0.00/0.95/0.70)
07 | 4C | 04 | |
---|---|---|---|
RGB | 7 | 76 | 4 |
HSL | 118° | 90.00% | 15.69% |
HSB/HSV | 118° | 94.74% | 29.80% |
CMYK | 90.79% | 0.00% | 94.74% |
70.20% |
HEX | 07 | 4C | 04 |
Decimal | 7 | 76 | 4 |
Binary | 111 | 1001100 | 100 |
Octal | 7 | 114 | 4 |
Examples of css and html codes for elements with #074C04 color. Also use rgb(7,76,4) instead hex code.
.myTextColor { color: #074C04; }
<p style="color:#074C04">This sample text font color is #074C04.</p>
This text font color is #074C04.
.myBgColor { background-color: #074C04; }
<div style="background-color:#074C04">Inner text</div>
This div background color is #074C04.
.myBorderColor { border: 1px solid #074C04; }
<div style="border:3px solid #074C04">Div</div>
This div border color is #074C04.
.myOpacity80 { color: #074C04; opacity: 0.8; }
<p style="color:#074C04;opacity:0.8;">80%</p>
Text with #074C04 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #074C04;}
<p style="text-shadow: 3px 3px 1px #074C04">Text here.</p>
This text has shadow with #074C04 color.
.textShadow {text-shadow: 3px 3px 1px #074C04, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #074C04, 5px 5px 20px red">Text here.</p>
This text has shadow with #074C04 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#074C04, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#074C04, Direction=45, Strength=4)">Text</p>
This text has shadow with #074C04 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #074C04; -webkit-box-shadow: 1px 1px 3px 2px #074C04; box-shadow: 1px 1px 3px 2px #074C04; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #074C04; -webkit-box-shadow: 1px 1px 3px 2px #074C04; box-shadow:1px 1px 3px 2px #074C04;">
Div content here</div>
This text has color #074C04 on black background.
This text has color #074C04 on white background.
This text has black color on #074C04 background.
This text has white color on #074C04 background.