HEX: #466A17
RGB: (70,106,23)
#466A17 contains mainly red and green colors. Web safe color of #466A17 is #336600 (or #360).
#466A17 color RGB value is (70,106,23).
RGB: (70,106,23) (27%,42%,9%)
R 70 of 255 = 27%
G 106 of 255 = 42%
B 23 of 255 = 9%
R + G + B ~ 26%. #466A17 is quite dark color.
R + G + B =
70 + 106 + 23 = 199 (100%)
R 70 of 199 ~ 35.18%
G 106 of 199 ~ 53.27%
B 23 of 199 ~ 11.56%
#466A17 color CMYK value is (34,0,78,58).
CMYK: (34,0,78,58) C34M0Y78K58 (34%,0%,78%,58%) (0.34/0.00/0.78/0.58)
46 | 6A | 17 | |
---|---|---|---|
RGB | 70 | 106 | 23 |
HSL | 86° | 64.34% | 25.29% |
HSB/HSV | 86° | 78.30% | 41.57% |
CMYK | 33.96% | 0.00% | 78.30% |
58.43% |
HEX | 46 | 6A | 17 |
Decimal | 70 | 106 | 23 |
Binary | 1000110 | 1101010 | 10111 |
Octal | 106 | 152 | 27 |
Examples of css and html codes for elements with #466A17 color. Also use rgb(70,106,23) instead hex code.
.myTextColor { color: #466A17; }
<p style="color:#466A17">This sample text font color is #466A17.</p>
This text font color is #466A17.
.myBgColor { background-color: #466A17; }
<div style="background-color:#466A17">Inner text</div>
This div background color is #466A17.
.myBorderColor { border: 1px solid #466A17; }
<div style="border:3px solid #466A17">Div</div>
This div border color is #466A17.
.myOpacity80 { color: #466A17; opacity: 0.8; }
<p style="color:#466A17;opacity:0.8;">80%</p>
Text with #466A17 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #466A17;}
<p style="text-shadow: 3px 3px 1px #466A17">Text here.</p>
This text has shadow with #466A17 color.
.textShadow {text-shadow: 3px 3px 1px #466A17, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #466A17, 5px 5px 20px red">Text here.</p>
This text has shadow with #466A17 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#466A17, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#466A17, Direction=45, Strength=4)">Text</p>
This text has shadow with #466A17 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #466A17; -webkit-box-shadow: 1px 1px 3px 2px #466A17; box-shadow: 1px 1px 3px 2px #466A17; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #466A17; -webkit-box-shadow: 1px 1px 3px 2px #466A17; box-shadow:1px 1px 3px 2px #466A17;">
Div content here</div>
This text has color #466A17 on black background.
This text has color #466A17 on white background.
This text has black color on #466A17 background.
This text has white color on #466A17 background.