HEX: #4D668B
RGB: (77,102,139)
#4D668B contains mainly green and blue colors. Web safe color of #4D668B is #336699 (or #369).
#4D668B color RGB value is (77,102,139).
RGB: (77,102,139) (30%,40%,55%)
R 77 of 255 = 30%
G 102 of 255 = 40%
B 139 of 255 = 55%
R + G + B ~ 42%. #4D668B is middle color (not dark and not light).
R + G + B =
77 + 102 + 139 = 318 (100%)
R 77 of 318 ~ 24.21%
G 102 of 318 ~ 32.08%
B 139 of 318 ~ 43.71%
#4D668B color CMYK value is (45,27,0,45).
CMYK: (45,27,0,45) C45M27Y0K45 (45%,27%,0%,45%) (0.45/0.27/0.00/0.45)
4D | 66 | 8B | |
---|---|---|---|
RGB | 77 | 102 | 139 |
HSL | 216° | 28.70% | 42.35% |
HSB/HSV | 216° | 44.60% | 54.51% |
CMYK | 44.60% | 26.62% | 0.00% |
45.49% |
HEX | 4D | 66 | 8B |
Decimal | 77 | 102 | 139 |
Binary | 1001101 | 1100110 | 10001011 |
Octal | 115 | 146 | 213 |
Examples of css and html codes for elements with #4D668B color. Also use rgb(77,102,139) instead hex code.
.myTextColor { color: #4D668B; }
<p style="color:#4D668B">This sample text font color is #4D668B.</p>
This text font color is #4D668B.
.myBgColor { background-color: #4D668B; }
<div style="background-color:#4D668B">Inner text</div>
This div background color is #4D668B.
.myBorderColor { border: 1px solid #4D668B; }
<div style="border:3px solid #4D668B">Div</div>
This div border color is #4D668B.
.myOpacity80 { color: #4D668B; opacity: 0.8; }
<p style="color:#4D668B;opacity:0.8;">80%</p>
Text with #4D668B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D668B;}
<p style="text-shadow: 3px 3px 1px #4D668B">Text here.</p>
This text has shadow with #4D668B color.
.textShadow {text-shadow: 3px 3px 1px #4D668B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D668B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D668B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D668B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D668B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D668B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D668B; -webkit-box-shadow: 1px 1px 3px 2px #4D668B; box-shadow: 1px 1px 3px 2px #4D668B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D668B; -webkit-box-shadow: 1px 1px 3px 2px #4D668B; box-shadow:1px 1px 3px 2px #4D668B;">
Div content here</div>
This text has color #4D668B on black background.
This text has color #4D668B on white background.
This text has black color on #4D668B background.
This text has white color on #4D668B background.