HEX: #466406
RGB: (70,100,6)
#466406 contains mainly red and green colors. Web safe color of #466406 is #336600 (or #360).
#466406 color RGB value is (70,100,6).
RGB: (70,100,6) (27%,39%,2%)
R 70 of 255 = 27%
G 100 of 255 = 39%
B 6 of 255 = 2%
R + G + B ~ 23%. #466406 is dark color.
R + G + B =
70 + 100 + 6 = 176 (100%)
R 70 of 176 ~ 39.77%
G 100 of 176 ~ 56.82%
B 6 of 176 ~ 3.41%
#466406 color CMYK value is (30,0,94,61).
CMYK: (30,0,94,61) C30M0Y94K61 (30%,0%,94%,61%) (0.30/0.00/0.94/0.61)
46 | 64 | 06 | |
---|---|---|---|
RGB | 70 | 100 | 6 |
HSL | 79° | 88.68% | 20.78% |
HSB/HSV | 79° | 94.00% | 39.22% |
CMYK | 30.00% | 0.00% | 94.00% |
60.78% |
HEX | 46 | 64 | 06 |
Decimal | 70 | 100 | 6 |
Binary | 1000110 | 1100100 | 110 |
Octal | 106 | 144 | 6 |
Examples of css and html codes for elements with #466406 color. Also use rgb(70,100,6) instead hex code.
.myTextColor { color: #466406; }
<p style="color:#466406">This sample text font color is #466406.</p>
This text font color is #466406.
.myBgColor { background-color: #466406; }
<div style="background-color:#466406">Inner text</div>
This div background color is #466406.
.myBorderColor { border: 1px solid #466406; }
<div style="border:3px solid #466406">Div</div>
This div border color is #466406.
.myOpacity80 { color: #466406; opacity: 0.8; }
<p style="color:#466406;opacity:0.8;">80%</p>
Text with #466406 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #466406;}
<p style="text-shadow: 3px 3px 1px #466406">Text here.</p>
This text has shadow with #466406 color.
.textShadow {text-shadow: 3px 3px 1px #466406, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #466406, 5px 5px 20px red">Text here.</p>
This text has shadow with #466406 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#466406, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#466406, Direction=45, Strength=4)">Text</p>
This text has shadow with #466406 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #466406; -webkit-box-shadow: 1px 1px 3px 2px #466406; box-shadow: 1px 1px 3px 2px #466406; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #466406; -webkit-box-shadow: 1px 1px 3px 2px #466406; box-shadow:1px 1px 3px 2px #466406;">
Div content here</div>
This text has color #466406 on black background.
This text has color #466406 on white background.
This text has black color on #466406 background.
This text has white color on #466406 background.