HEX: #04762D
RGB: (4,118,45)
#04762D contains mainly green color. Web safe color of #04762D is #006633 (or #063).
#04762D color RGB value is (4,118,45).
RGB: (4,118,45) (2%,46%,18%)
R 4 of 255 = 2%
G 118 of 255 = 46%
B 45 of 255 = 18%
R + G + B ~ 22%. #04762D is dark color.
R + G + B =
4 + 118 + 45 = 167 (100%)
R 4 of 167 ~ 2.4%
G 118 of 167 ~ 70.66%
B 45 of 167 ~ 26.95%
#04762D color CMYK value is (97,0,62,54).
CMYK: (97,0,62,54) C97M0Y62K54 (97%,0%,62%,54%) (0.97/0.00/0.62/0.54)
04 | 76 | 2D | |
---|---|---|---|
RGB | 4 | 118 | 45 |
HSL | 142° | 93.44% | 23.92% |
HSB/HSV | 142° | 96.61% | 46.27% |
CMYK | 96.61% | 0.00% | 61.86% |
53.73% |
HEX | 04 | 76 | 2D |
Decimal | 4 | 118 | 45 |
Binary | 100 | 1110110 | 101101 |
Octal | 4 | 166 | 55 |
Examples of css and html codes for elements with #04762D color. Also use rgb(4,118,45) instead hex code.
.myTextColor { color: #04762D; }
<p style="color:#04762D">This sample text font color is #04762D.</p>
This text font color is #04762D.
.myBgColor { background-color: #04762D; }
<div style="background-color:#04762D">Inner text</div>
This div background color is #04762D.
.myBorderColor { border: 1px solid #04762D; }
<div style="border:3px solid #04762D">Div</div>
This div border color is #04762D.
.myOpacity80 { color: #04762D; opacity: 0.8; }
<p style="color:#04762D;opacity:0.8;">80%</p>
Text with #04762D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #04762D;}
<p style="text-shadow: 3px 3px 1px #04762D">Text here.</p>
This text has shadow with #04762D color.
.textShadow {text-shadow: 3px 3px 1px #04762D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #04762D, 5px 5px 20px red">Text here.</p>
This text has shadow with #04762D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#04762D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#04762D, Direction=45, Strength=4)">Text</p>
This text has shadow with #04762D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #04762D; -webkit-box-shadow: 1px 1px 3px 2px #04762D; box-shadow: 1px 1px 3px 2px #04762D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #04762D; -webkit-box-shadow: 1px 1px 3px 2px #04762D; box-shadow:1px 1px 3px 2px #04762D;">
Div content here</div>
This text has color #04762D on black background.
This text has color #04762D on white background.
This text has black color on #04762D background.
This text has white color on #04762D background.