HEX: #406D7B
RGB: (64,109,123)
#406D7B contains red, green and blue colors in about the same proportion. Web safe color of #406D7B is #336666 (or #366).
#406D7B color RGB value is (64,109,123).
RGB: (64,109,123) (25%,43%,48%)
R 64 of 255 = 25%
G 109 of 255 = 43%
B 123 of 255 = 48%
R + G + B ~ 39%. #406D7B is quite dark color.
R + G + B =
64 + 109 + 123 = 296 (100%)
R 64 of 296 ~ 21.62%
G 109 of 296 ~ 36.82%
B 123 of 296 ~ 41.55%
#406D7B color CMYK value is (48,11,0,52).
CMYK: (48,11,0,52) C48M11Y0K52 (48%,11%,0%,52%) (0.48/0.11/0.00/0.52)
40 | 6D | 7B | |
---|---|---|---|
RGB | 64 | 109 | 123 |
HSL | 194° | 31.55% | 36.67% |
HSB/HSV | 194° | 47.97% | 48.24% |
CMYK | 47.97% | 11.38% | 0.00% |
51.76% |
HEX | 40 | 6D | 7B |
Decimal | 64 | 109 | 123 |
Binary | 1000000 | 1101101 | 1111011 |
Octal | 100 | 155 | 173 |
Examples of css and html codes for elements with #406D7B color. Also use rgb(64,109,123) instead hex code.
.myTextColor { color: #406D7B; }
<p style="color:#406D7B">This sample text font color is #406D7B.</p>
This text font color is #406D7B.
.myBgColor { background-color: #406D7B; }
<div style="background-color:#406D7B">Inner text</div>
This div background color is #406D7B.
.myBorderColor { border: 1px solid #406D7B; }
<div style="border:3px solid #406D7B">Div</div>
This div border color is #406D7B.
.myOpacity80 { color: #406D7B; opacity: 0.8; }
<p style="color:#406D7B;opacity:0.8;">80%</p>
Text with #406D7B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #406D7B;}
<p style="text-shadow: 3px 3px 1px #406D7B">Text here.</p>
This text has shadow with #406D7B color.
.textShadow {text-shadow: 3px 3px 1px #406D7B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #406D7B, 5px 5px 20px red">Text here.</p>
This text has shadow with #406D7B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#406D7B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#406D7B, Direction=45, Strength=4)">Text</p>
This text has shadow with #406D7B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #406D7B; -webkit-box-shadow: 1px 1px 3px 2px #406D7B; box-shadow: 1px 1px 3px 2px #406D7B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #406D7B; -webkit-box-shadow: 1px 1px 3px 2px #406D7B; box-shadow:1px 1px 3px 2px #406D7B;">
Div content here</div>
This text has color #406D7B on black background.
This text has color #406D7B on white background.
This text has black color on #406D7B background.
This text has white color on #406D7B background.