HEX: #4D349E
RGB: (77,52,158)
#4D349E contains mainly blue color. Web safe color of #4D349E is #333399 (or #339).
#4D349E color RGB value is (77,52,158).
RGB: (77,52,158) (30%,20%,62%)
R 77 of 255 = 30%
G 52 of 255 = 20%
B 158 of 255 = 62%
R + G + B ~ 37%. #4D349E is quite dark color.
R + G + B =
77 + 52 + 158 = 287 (100%)
R 77 of 287 ~ 26.83%
G 52 of 287 ~ 18.12%
B 158 of 287 ~ 55.05%
#4D349E color CMYK value is (51,67,0,38).
CMYK: (51,67,0,38) C51M67Y0K38 (51%,67%,0%,38%) (0.51/0.67/0.00/0.38)
4D | 34 | 9E | |
---|---|---|---|
RGB | 77 | 52 | 158 |
HSL | 254° | 50.48% | 41.18% |
HSB/HSV | 254° | 67.09% | 61.96% |
CMYK | 51.27% | 67.09% | 0.00% |
38.04% |
HEX | 4D | 34 | 9E |
Decimal | 77 | 52 | 158 |
Binary | 1001101 | 110100 | 10011110 |
Octal | 115 | 64 | 236 |
Examples of css and html codes for elements with #4D349E color. Also use rgb(77,52,158) instead hex code.
.myTextColor { color: #4D349E; }
<p style="color:#4D349E">This sample text font color is #4D349E.</p>
This text font color is #4D349E.
.myBgColor { background-color: #4D349E; }
<div style="background-color:#4D349E">Inner text</div>
This div background color is #4D349E.
.myBorderColor { border: 1px solid #4D349E; }
<div style="border:3px solid #4D349E">Div</div>
This div border color is #4D349E.
.myOpacity80 { color: #4D349E; opacity: 0.8; }
<p style="color:#4D349E;opacity:0.8;">80%</p>
Text with #4D349E color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D349E;}
<p style="text-shadow: 3px 3px 1px #4D349E">Text here.</p>
This text has shadow with #4D349E color.
.textShadow {text-shadow: 3px 3px 1px #4D349E, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D349E, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D349E primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D349E, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D349E, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D349E and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D349E; -webkit-box-shadow: 1px 1px 3px 2px #4D349E; box-shadow: 1px 1px 3px 2px #4D349E; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D349E; -webkit-box-shadow: 1px 1px 3px 2px #4D349E; box-shadow:1px 1px 3px 2px #4D349E;">
Div content here</div>
This text has color #4D349E on black background.
This text has color #4D349E on white background.
This text has black color on #4D349E background.
This text has white color on #4D349E background.