HEX: #4D6B99
RGB: (77,107,153)
#4D6B99 contains mainly green and blue colors. Web safe color of #4D6B99 is #336699 (or #369).
#4D6B99 color RGB value is (77,107,153).
RGB: (77,107,153) (30%,42%,60%)
R 77 of 255 = 30%
G 107 of 255 = 42%
B 153 of 255 = 60%
R + G + B ~ 44%. #4D6B99 is middle color (not dark and not light).
R + G + B =
77 + 107 + 153 = 337 (100%)
R 77 of 337 ~ 22.85%
G 107 of 337 ~ 31.75%
B 153 of 337 ~ 45.4%
#4D6B99 color CMYK value is (50,30,0,40).
CMYK: (50,30,0,40) C50M30Y0K40 (50%,30%,0%,40%) (0.50/0.30/0.00/0.40)
4D | 6B | 99 | |
---|---|---|---|
RGB | 77 | 107 | 153 |
HSL | 216° | 33.04% | 45.10% |
HSB/HSV | 216° | 49.67% | 60.00% |
CMYK | 49.67% | 30.07% | 0.00% |
40.00% |
HEX | 4D | 6B | 99 |
Decimal | 77 | 107 | 153 |
Binary | 1001101 | 1101011 | 10011001 |
Octal | 115 | 153 | 231 |
Examples of css and html codes for elements with #4D6B99 color. Also use rgb(77,107,153) instead hex code.
.myTextColor { color: #4D6B99; }
<p style="color:#4D6B99">This sample text font color is #4D6B99.</p>
This text font color is #4D6B99.
.myBgColor { background-color: #4D6B99; }
<div style="background-color:#4D6B99">Inner text</div>
This div background color is #4D6B99.
.myBorderColor { border: 1px solid #4D6B99; }
<div style="border:3px solid #4D6B99">Div</div>
This div border color is #4D6B99.
.myOpacity80 { color: #4D6B99; opacity: 0.8; }
<p style="color:#4D6B99;opacity:0.8;">80%</p>
Text with #4D6B99 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D6B99;}
<p style="text-shadow: 3px 3px 1px #4D6B99">Text here.</p>
This text has shadow with #4D6B99 color.
.textShadow {text-shadow: 3px 3px 1px #4D6B99, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D6B99, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D6B99 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D6B99, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D6B99, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D6B99 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D6B99; -webkit-box-shadow: 1px 1px 3px 2px #4D6B99; box-shadow: 1px 1px 3px 2px #4D6B99; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D6B99; -webkit-box-shadow: 1px 1px 3px 2px #4D6B99; box-shadow:1px 1px 3px 2px #4D6B99;">
Div content here</div>
This text has color #4D6B99 on black background.
This text has color #4D6B99 on white background.
This text has black color on #4D6B99 background.
This text has white color on #4D6B99 background.