HEX: #4D789C
RGB: (77,120,156)
#4D789C contains mainly green and blue colors. Web safe color of #4D789C is #336699 (or #369).
#4D789C color RGB value is (77,120,156).
RGB: (77,120,156) (30%,47%,61%)
R 77 of 255 = 30%
G 120 of 255 = 47%
B 156 of 255 = 61%
R + G + B ~ 46%. #4D789C is middle color (not dark and not light).
R + G + B =
77 + 120 + 156 = 353 (100%)
R 77 of 353 ~ 21.81%
G 120 of 353 ~ 33.99%
B 156 of 353 ~ 44.19%
#4D789C color CMYK value is (51,23,0,39).
CMYK: (51,23,0,39) C51M23Y0K39 (51%,23%,0%,39%) (0.51/0.23/0.00/0.39)
4D | 78 | 9C | |
---|---|---|---|
RGB | 77 | 120 | 156 |
HSL | 207° | 33.91% | 45.69% |
HSB/HSV | 207° | 50.64% | 61.18% |
CMYK | 50.64% | 23.08% | 0.00% |
38.82% |
HEX | 4D | 78 | 9C |
Decimal | 77 | 120 | 156 |
Binary | 1001101 | 1111000 | 10011100 |
Octal | 115 | 170 | 234 |
Examples of css and html codes for elements with #4D789C color. Also use rgb(77,120,156) instead hex code.
.myTextColor { color: #4D789C; }
<p style="color:#4D789C">This sample text font color is #4D789C.</p>
This text font color is #4D789C.
.myBgColor { background-color: #4D789C; }
<div style="background-color:#4D789C">Inner text</div>
This div background color is #4D789C.
.myBorderColor { border: 1px solid #4D789C; }
<div style="border:3px solid #4D789C">Div</div>
This div border color is #4D789C.
.myOpacity80 { color: #4D789C; opacity: 0.8; }
<p style="color:#4D789C;opacity:0.8;">80%</p>
Text with #4D789C color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D789C;}
<p style="text-shadow: 3px 3px 1px #4D789C">Text here.</p>
This text has shadow with #4D789C color.
.textShadow {text-shadow: 3px 3px 1px #4D789C, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D789C, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D789C primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D789C, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D789C, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D789C and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D789C; -webkit-box-shadow: 1px 1px 3px 2px #4D789C; box-shadow: 1px 1px 3px 2px #4D789C; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D789C; -webkit-box-shadow: 1px 1px 3px 2px #4D789C; box-shadow:1px 1px 3px 2px #4D789C;">
Div content here</div>
This text has color #4D789C on black background.
This text has color #4D789C on white background.
This text has black color on #4D789C background.
This text has white color on #4D789C background.