HEX: #4D429B
RGB: (77,66,155)
#4D429B contains mainly blue color. Web safe color of #4D429B is #333399 (or #339).
#4D429B color RGB value is (77,66,155).
RGB: (77,66,155) (30%,26%,61%)
R 77 of 255 = 30%
G 66 of 255 = 26%
B 155 of 255 = 61%
R + G + B ~ 39%. #4D429B is quite dark color.
R + G + B =
77 + 66 + 155 = 298 (100%)
R 77 of 298 ~ 25.84%
G 66 of 298 ~ 22.15%
B 155 of 298 ~ 52.01%
#4D429B color CMYK value is (50,57,0,39).
CMYK: (50,57,0,39) C50M57Y0K39 (50%,57%,0%,39%) (0.50/0.57/0.00/0.39)
4D | 42 | 9B | |
---|---|---|---|
RGB | 77 | 66 | 155 |
HSL | 247° | 40.27% | 43.33% |
HSB/HSV | 247° | 57.42% | 60.78% |
CMYK | 50.32% | 57.42% | 0.00% |
39.22% |
HEX | 4D | 42 | 9B |
Decimal | 77 | 66 | 155 |
Binary | 1001101 | 1000010 | 10011011 |
Octal | 115 | 102 | 233 |
Examples of css and html codes for elements with #4D429B color. Also use rgb(77,66,155) instead hex code.
.myTextColor { color: #4D429B; }
<p style="color:#4D429B">This sample text font color is #4D429B.</p>
This text font color is #4D429B.
.myBgColor { background-color: #4D429B; }
<div style="background-color:#4D429B">Inner text</div>
This div background color is #4D429B.
.myBorderColor { border: 1px solid #4D429B; }
<div style="border:3px solid #4D429B">Div</div>
This div border color is #4D429B.
.myOpacity80 { color: #4D429B; opacity: 0.8; }
<p style="color:#4D429B;opacity:0.8;">80%</p>
Text with #4D429B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D429B;}
<p style="text-shadow: 3px 3px 1px #4D429B">Text here.</p>
This text has shadow with #4D429B color.
.textShadow {text-shadow: 3px 3px 1px #4D429B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D429B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D429B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D429B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D429B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D429B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D429B; -webkit-box-shadow: 1px 1px 3px 2px #4D429B; box-shadow: 1px 1px 3px 2px #4D429B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D429B; -webkit-box-shadow: 1px 1px 3px 2px #4D429B; box-shadow:1px 1px 3px 2px #4D429B;">
Div content here</div>
This text has color #4D429B on black background.
This text has color #4D429B on white background.
This text has black color on #4D429B background.
This text has white color on #4D429B background.