HEX: #4D3988
RGB: (77,57,136)
#4D3988 contains mainly red and blue colors. Web safe color of #4D3988 is #333399 (or #339).
#4D3988 color RGB value is (77,57,136).
RGB: (77,57,136) (30%,22%,53%)
R 77 of 255 = 30%
G 57 of 255 = 22%
B 136 of 255 = 53%
R + G + B ~ 35%. #4D3988 is quite dark color.
R + G + B =
77 + 57 + 136 = 270 (100%)
R 77 of 270 ~ 28.52%
G 57 of 270 ~ 21.11%
B 136 of 270 ~ 50.37%
#4D3988 color CMYK value is (43,58,0,47).
CMYK: (43,58,0,47) C43M58Y0K47 (43%,58%,0%,47%) (0.43/0.58/0.00/0.47)
4D | 39 | 88 | |
---|---|---|---|
RGB | 77 | 57 | 136 |
HSL | 255° | 40.93% | 37.84% |
HSB/HSV | 255° | 58.09% | 53.33% |
CMYK | 43.38% | 58.09% | 0.00% |
46.67% |
HEX | 4D | 39 | 88 |
Decimal | 77 | 57 | 136 |
Binary | 1001101 | 111001 | 10001000 |
Octal | 115 | 71 | 210 |
Examples of css and html codes for elements with #4D3988 color. Also use rgb(77,57,136) instead hex code.
.myTextColor { color: #4D3988; }
<p style="color:#4D3988">This sample text font color is #4D3988.</p>
This text font color is #4D3988.
.myBgColor { background-color: #4D3988; }
<div style="background-color:#4D3988">Inner text</div>
This div background color is #4D3988.
.myBorderColor { border: 1px solid #4D3988; }
<div style="border:3px solid #4D3988">Div</div>
This div border color is #4D3988.
.myOpacity80 { color: #4D3988; opacity: 0.8; }
<p style="color:#4D3988;opacity:0.8;">80%</p>
Text with #4D3988 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D3988;}
<p style="text-shadow: 3px 3px 1px #4D3988">Text here.</p>
This text has shadow with #4D3988 color.
.textShadow {text-shadow: 3px 3px 1px #4D3988, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D3988, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D3988 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D3988, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D3988, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D3988 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D3988; -webkit-box-shadow: 1px 1px 3px 2px #4D3988; box-shadow: 1px 1px 3px 2px #4D3988; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D3988; -webkit-box-shadow: 1px 1px 3px 2px #4D3988; box-shadow:1px 1px 3px 2px #4D3988;">
Div content here</div>
This text has color #4D3988 on black background.
This text has color #4D3988 on white background.
This text has black color on #4D3988 background.
This text has white color on #4D3988 background.