HEX: #4D3F99
RGB: (77,63,153)
#4D3F99 contains mainly blue color. Web safe color of #4D3F99 is #333399 (or #339).
#4D3F99 color RGB value is (77,63,153).
RGB: (77,63,153) (30%,25%,60%)
R 77 of 255 = 30%
G 63 of 255 = 25%
B 153 of 255 = 60%
R + G + B ~ 38%. #4D3F99 is quite dark color.
R + G + B =
77 + 63 + 153 = 293 (100%)
R 77 of 293 ~ 26.28%
G 63 of 293 ~ 21.5%
B 153 of 293 ~ 52.22%
#4D3F99 color CMYK value is (50,59,0,40).
CMYK: (50,59,0,40) C50M59Y0K40 (50%,59%,0%,40%) (0.50/0.59/0.00/0.40)
4D | 3F | 99 | |
---|---|---|---|
RGB | 77 | 63 | 153 |
HSL | 249° | 41.67% | 42.35% |
HSB/HSV | 249° | 58.82% | 60.00% |
CMYK | 49.67% | 58.82% | 0.00% |
40.00% |
HEX | 4D | 3F | 99 |
Decimal | 77 | 63 | 153 |
Binary | 1001101 | 111111 | 10011001 |
Octal | 115 | 77 | 231 |
Examples of css and html codes for elements with #4D3F99 color. Also use rgb(77,63,153) instead hex code.
.myTextColor { color: #4D3F99; }
<p style="color:#4D3F99">This sample text font color is #4D3F99.</p>
This text font color is #4D3F99.
.myBgColor { background-color: #4D3F99; }
<div style="background-color:#4D3F99">Inner text</div>
This div background color is #4D3F99.
.myBorderColor { border: 1px solid #4D3F99; }
<div style="border:3px solid #4D3F99">Div</div>
This div border color is #4D3F99.
.myOpacity80 { color: #4D3F99; opacity: 0.8; }
<p style="color:#4D3F99;opacity:0.8;">80%</p>
Text with #4D3F99 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D3F99;}
<p style="text-shadow: 3px 3px 1px #4D3F99">Text here.</p>
This text has shadow with #4D3F99 color.
.textShadow {text-shadow: 3px 3px 1px #4D3F99, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D3F99, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D3F99 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D3F99, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D3F99, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D3F99 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D3F99; -webkit-box-shadow: 1px 1px 3px 2px #4D3F99; box-shadow: 1px 1px 3px 2px #4D3F99; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D3F99; -webkit-box-shadow: 1px 1px 3px 2px #4D3F99; box-shadow:1px 1px 3px 2px #4D3F99;">
Div content here</div>
This text has color #4D3F99 on black background.
This text has color #4D3F99 on white background.
This text has black color on #4D3F99 background.
This text has white color on #4D3F99 background.