HEX: #466428
RGB: (70,100,40)
#466428 contains mainly red and green colors. Web safe color of #466428 is #336633 (or #363).
#466428 color RGB value is (70,100,40).
RGB: (70,100,40) (27%,39%,16%)
R 70 of 255 = 27%
G 100 of 255 = 39%
B 40 of 255 = 16%
R + G + B ~ 27%. #466428 is quite dark color.
R + G + B =
70 + 100 + 40 = 210 (100%)
R 70 of 210 ~ 33.33%
G 100 of 210 ~ 47.62%
B 40 of 210 ~ 19.05%
#466428 color CMYK value is (30,0,60,61).
CMYK: (30,0,60,61) C30M0Y60K61 (30%,0%,60%,61%) (0.30/0.00/0.60/0.61)
46 | 64 | 28 | |
---|---|---|---|
RGB | 70 | 100 | 40 |
HSL | 90° | 42.86% | 27.45% |
HSB/HSV | 90° | 60.00% | 39.22% |
CMYK | 30.00% | 0.00% | 60.00% |
60.78% |
HEX | 46 | 64 | 28 |
Decimal | 70 | 100 | 40 |
Binary | 1000110 | 1100100 | 101000 |
Octal | 106 | 144 | 50 |
Examples of css and html codes for elements with #466428 color. Also use rgb(70,100,40) instead hex code.
.myTextColor { color: #466428; }
<p style="color:#466428">This sample text font color is #466428.</p>
This text font color is #466428.
.myBgColor { background-color: #466428; }
<div style="background-color:#466428">Inner text</div>
This div background color is #466428.
.myBorderColor { border: 1px solid #466428; }
<div style="border:3px solid #466428">Div</div>
This div border color is #466428.
.myOpacity80 { color: #466428; opacity: 0.8; }
<p style="color:#466428;opacity:0.8;">80%</p>
Text with #466428 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #466428;}
<p style="text-shadow: 3px 3px 1px #466428">Text here.</p>
This text has shadow with #466428 color.
.textShadow {text-shadow: 3px 3px 1px #466428, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #466428, 5px 5px 20px red">Text here.</p>
This text has shadow with #466428 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#466428, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#466428, Direction=45, Strength=4)">Text</p>
This text has shadow with #466428 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #466428; -webkit-box-shadow: 1px 1px 3px 2px #466428; box-shadow: 1px 1px 3px 2px #466428; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #466428; -webkit-box-shadow: 1px 1px 3px 2px #466428; box-shadow:1px 1px 3px 2px #466428;">
Div content here</div>
This text has color #466428 on black background.
This text has color #466428 on white background.
This text has black color on #466428 background.
This text has white color on #466428 background.