HEX: #406049
RGB: (64,96,73)
#406049 contains red, green and blue colors in about the same proportion. Web safe color of #406049 is #336633 (or #363).
#406049 color RGB value is (64,96,73).
RGB: (64,96,73) (25%,38%,29%)
R 64 of 255 = 25%
G 96 of 255 = 38%
B 73 of 255 = 29%
R + G + B ~ 31%. #406049 is quite dark color.
R + G + B =
64 + 96 + 73 = 233 (100%)
R 64 of 233 ~ 27.47%
G 96 of 233 ~ 41.2%
B 73 of 233 ~ 31.33%
#406049 color CMYK value is (33,0,24,62).
CMYK: (33,0,24,62) C33M0Y24K62 (33%,0%,24%,62%) (0.33/0.00/0.24/0.62)
40 | 60 | 49 | |
---|---|---|---|
RGB | 64 | 96 | 73 |
HSL | 137° | 20.00% | 31.37% |
HSB/HSV | 137° | 33.33% | 37.65% |
CMYK | 33.33% | 0.00% | 23.96% |
62.35% |
HEX | 40 | 60 | 49 |
Decimal | 64 | 96 | 73 |
Binary | 1000000 | 1100000 | 1001001 |
Octal | 100 | 140 | 111 |
Examples of css and html codes for elements with #406049 color. Also use rgb(64,96,73) instead hex code.
.myTextColor { color: #406049; }
<p style="color:#406049">This sample text font color is #406049.</p>
This text font color is #406049.
.myBgColor { background-color: #406049; }
<div style="background-color:#406049">Inner text</div>
This div background color is #406049.
.myBorderColor { border: 1px solid #406049; }
<div style="border:3px solid #406049">Div</div>
This div border color is #406049.
.myOpacity80 { color: #406049; opacity: 0.8; }
<p style="color:#406049;opacity:0.8;">80%</p>
Text with #406049 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #406049;}
<p style="text-shadow: 3px 3px 1px #406049">Text here.</p>
This text has shadow with #406049 color.
.textShadow {text-shadow: 3px 3px 1px #406049, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #406049, 5px 5px 20px red">Text here.</p>
This text has shadow with #406049 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#406049, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#406049, Direction=45, Strength=4)">Text</p>
This text has shadow with #406049 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #406049; -webkit-box-shadow: 1px 1px 3px 2px #406049; box-shadow: 1px 1px 3px 2px #406049; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #406049; -webkit-box-shadow: 1px 1px 3px 2px #406049; box-shadow:1px 1px 3px 2px #406049;">
Div content here</div>
This text has color #406049 on black background.
This text has color #406049 on white background.
This text has black color on #406049 background.
This text has white color on #406049 background.