HEX: #406D6B
RGB: (64,109,107)
#406D6B contains red, green and blue colors in about the same proportion. Web safe color of #406D6B is #336666 (or #366).
#406D6B color RGB value is (64,109,107).
RGB: (64,109,107) (25%,43%,42%)
R 64 of 255 = 25%
G 109 of 255 = 43%
B 107 of 255 = 42%
R + G + B ~ 37%. #406D6B is quite dark color.
R + G + B =
64 + 109 + 107 = 280 (100%)
R 64 of 280 ~ 22.86%
G 109 of 280 ~ 38.93%
B 107 of 280 ~ 38.21%
#406D6B color CMYK value is (41,0,2,57).
CMYK: (41,0,2,57) C41M0Y2K57 (41%,0%,2%,57%) (0.41/0.00/0.02/0.57)
40 | 6D | 6B | |
---|---|---|---|
RGB | 64 | 109 | 107 |
HSL | 177° | 26.01% | 33.92% |
HSB/HSV | 177° | 41.28% | 42.75% |
CMYK | 41.28% | 0.00% | 1.83% |
57.25% |
HEX | 40 | 6D | 6B |
Decimal | 64 | 109 | 107 |
Binary | 1000000 | 1101101 | 1101011 |
Octal | 100 | 155 | 153 |
Examples of css and html codes for elements with #406D6B color. Also use rgb(64,109,107) instead hex code.
.myTextColor { color: #406D6B; }
<p style="color:#406D6B">This sample text font color is #406D6B.</p>
This text font color is #406D6B.
.myBgColor { background-color: #406D6B; }
<div style="background-color:#406D6B">Inner text</div>
This div background color is #406D6B.
.myBorderColor { border: 1px solid #406D6B; }
<div style="border:3px solid #406D6B">Div</div>
This div border color is #406D6B.
.myOpacity80 { color: #406D6B; opacity: 0.8; }
<p style="color:#406D6B;opacity:0.8;">80%</p>
Text with #406D6B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #406D6B;}
<p style="text-shadow: 3px 3px 1px #406D6B">Text here.</p>
This text has shadow with #406D6B color.
.textShadow {text-shadow: 3px 3px 1px #406D6B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #406D6B, 5px 5px 20px red">Text here.</p>
This text has shadow with #406D6B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#406D6B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#406D6B, Direction=45, Strength=4)">Text</p>
This text has shadow with #406D6B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #406D6B; -webkit-box-shadow: 1px 1px 3px 2px #406D6B; box-shadow: 1px 1px 3px 2px #406D6B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #406D6B; -webkit-box-shadow: 1px 1px 3px 2px #406D6B; box-shadow:1px 1px 3px 2px #406D6B;">
Div content here</div>
This text has color #406D6B on black background.
This text has color #406D6B on white background.
This text has black color on #406D6B background.
This text has white color on #406D6B background.