HEX: #4D378E
RGB: (77,55,142)
#4D378E contains mainly blue color. Web safe color of #4D378E is #333399 (or #339).
#4D378E color RGB value is (77,55,142).
RGB: (77,55,142) (30%,22%,56%)
R 77 of 255 = 30%
G 55 of 255 = 22%
B 142 of 255 = 56%
R + G + B ~ 36%. #4D378E is quite dark color.
R + G + B =
77 + 55 + 142 = 274 (100%)
R 77 of 274 ~ 28.1%
G 55 of 274 ~ 20.07%
B 142 of 274 ~ 51.82%
#4D378E color CMYK value is (46,61,0,44).
CMYK: (46,61,0,44) C46M61Y0K44 (46%,61%,0%,44%) (0.46/0.61/0.00/0.44)
4D | 37 | 8E | |
---|---|---|---|
RGB | 77 | 55 | 142 |
HSL | 255° | 44.16% | 38.63% |
HSB/HSV | 255° | 61.27% | 55.69% |
CMYK | 45.77% | 61.27% | 0.00% |
44.31% |
HEX | 4D | 37 | 8E |
Decimal | 77 | 55 | 142 |
Binary | 1001101 | 110111 | 10001110 |
Octal | 115 | 67 | 216 |
Examples of css and html codes for elements with #4D378E color. Also use rgb(77,55,142) instead hex code.
.myTextColor { color: #4D378E; }
<p style="color:#4D378E">This sample text font color is #4D378E.</p>
This text font color is #4D378E.
.myBgColor { background-color: #4D378E; }
<div style="background-color:#4D378E">Inner text</div>
This div background color is #4D378E.
.myBorderColor { border: 1px solid #4D378E; }
<div style="border:3px solid #4D378E">Div</div>
This div border color is #4D378E.
.myOpacity80 { color: #4D378E; opacity: 0.8; }
<p style="color:#4D378E;opacity:0.8;">80%</p>
Text with #4D378E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D378E;}
<p style="text-shadow: 3px 3px 1px #4D378E">Text here.</p>
This text has shadow with #4D378E color.
.textShadow {text-shadow: 3px 3px 1px #4D378E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D378E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D378E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D378E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D378E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D378E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D378E; -webkit-box-shadow: 1px 1px 3px 2px #4D378E; box-shadow: 1px 1px 3px 2px #4D378E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D378E; -webkit-box-shadow: 1px 1px 3px 2px #4D378E; box-shadow:1px 1px 3px 2px #4D378E;">
Div content here</div>
This text has color #4D378E on black background.
This text has color #4D378E on white background.
This text has black color on #4D378E background.
This text has white color on #4D378E background.