HEX: #046629
RGB: (4,102,41)
#046629 contains mainly green color. Web safe color of #046629 is #006633 (or #063).
#046629 color RGB value is (4,102,41).
RGB: (4,102,41) (2%,40%,16%)
R 4 of 255 = 2%
G 102 of 255 = 40%
B 41 of 255 = 16%
R + G + B ~ 19%. #046629 is dark color.
R + G + B =
4 + 102 + 41 = 147 (100%)
R 4 of 147 ~ 2.72%
G 102 of 147 ~ 69.39%
B 41 of 147 ~ 27.89%
#046629 color CMYK value is (96,0,60,60).
CMYK: (96,0,60,60) C96M0Y60K60 (96%,0%,60%,60%) (0.96/0.00/0.60/0.60)
04 | 66 | 29 | |
---|---|---|---|
RGB | 4 | 102 | 41 |
HSL | 143° | 92.45% | 20.78% |
HSB/HSV | 143° | 96.08% | 40.00% |
CMYK | 96.08% | 0.00% | 59.80% |
60.00% |
HEX | 04 | 66 | 29 |
Decimal | 4 | 102 | 41 |
Binary | 100 | 1100110 | 101001 |
Octal | 4 | 146 | 51 |
Examples of css and html codes for elements with #046629 color. Also use rgb(4,102,41) instead hex code.
.myTextColor { color: #046629; }
<p style="color:#046629">This sample text font color is #046629.</p>
This text font color is #046629.
.myBgColor { background-color: #046629; }
<div style="background-color:#046629">Inner text</div>
This div background color is #046629.
.myBorderColor { border: 1px solid #046629; }
<div style="border:3px solid #046629">Div</div>
This div border color is #046629.
.myOpacity80 { color: #046629; opacity: 0.8; }
<p style="color:#046629;opacity:0.8;">80%</p>
Text with #046629 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #046629;}
<p style="text-shadow: 3px 3px 1px #046629">Text here.</p>
This text has shadow with #046629 color.
.textShadow {text-shadow: 3px 3px 1px #046629, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #046629, 5px 5px 20px red">Text here.</p>
This text has shadow with #046629 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#046629, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#046629, Direction=45, Strength=4)">Text</p>
This text has shadow with #046629 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #046629; -webkit-box-shadow: 1px 1px 3px 2px #046629; box-shadow: 1px 1px 3px 2px #046629; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #046629; -webkit-box-shadow: 1px 1px 3px 2px #046629; box-shadow:1px 1px 3px 2px #046629;">
Div content here</div>
This text has color #046629 on black background.
This text has color #046629 on white background.
This text has black color on #046629 background.
This text has white color on #046629 background.