HEX: #4D5790
RGB: (77,87,144)
#4D5790 contains mainly green and blue colors. Web safe color of #4D5790 is #336699 (or #369).
#4D5790 color RGB value is (77,87,144).
RGB: (77,87,144) (30%,34%,56%)
R 77 of 255 = 30%
G 87 of 255 = 34%
B 144 of 255 = 56%
R + G + B ~ 40%. #4D5790 is middle color (not dark and not light).
R + G + B =
77 + 87 + 144 = 308 (100%)
R 77 of 308 ~ 25%
G 87 of 308 ~ 28.25%
B 144 of 308 ~ 46.75%
#4D5790 color CMYK value is (47,40,0,44).
CMYK: (47,40,0,44) C47M40Y0K44 (47%,40%,0%,44%) (0.47/0.40/0.00/0.44)
4D | 57 | 90 | |
---|---|---|---|
RGB | 77 | 87 | 144 |
HSL | 231° | 30.32% | 43.33% |
HSB/HSV | 231° | 46.53% | 56.47% |
CMYK | 46.53% | 39.58% | 0.00% |
43.53% |
HEX | 4D | 57 | 90 |
Decimal | 77 | 87 | 144 |
Binary | 1001101 | 1010111 | 10010000 |
Octal | 115 | 127 | 220 |
Examples of css and html codes for elements with #4D5790 color. Also use rgb(77,87,144) instead hex code.
.myTextColor { color: #4D5790; }
<p style="color:#4D5790">This sample text font color is #4D5790.</p>
This text font color is #4D5790.
.myBgColor { background-color: #4D5790; }
<div style="background-color:#4D5790">Inner text</div>
This div background color is #4D5790.
.myBorderColor { border: 1px solid #4D5790; }
<div style="border:3px solid #4D5790">Div</div>
This div border color is #4D5790.
.myOpacity80 { color: #4D5790; opacity: 0.8; }
<p style="color:#4D5790;opacity:0.8;">80%</p>
Text with #4D5790 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D5790;}
<p style="text-shadow: 3px 3px 1px #4D5790">Text here.</p>
This text has shadow with #4D5790 color.
.textShadow {text-shadow: 3px 3px 1px #4D5790, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D5790, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D5790 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D5790, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D5790, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D5790 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D5790; -webkit-box-shadow: 1px 1px 3px 2px #4D5790; box-shadow: 1px 1px 3px 2px #4D5790; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D5790; -webkit-box-shadow: 1px 1px 3px 2px #4D5790; box-shadow:1px 1px 3px 2px #4D5790;">
Div content here</div>
This text has color #4D5790 on black background.
This text has color #4D5790 on white background.
This text has black color on #4D5790 background.
This text has white color on #4D5790 background.