HEX: #4D529D
RGB: (77,82,157)
#4D529D contains mainly blue color. Web safe color of #4D529D is #336699 (or #369).
#4D529D color RGB value is (77,82,157).
RGB: (77,82,157) (30%,32%,62%)
R 77 of 255 = 30%
G 82 of 255 = 32%
B 157 of 255 = 62%
R + G + B ~ 41%. #4D529D is middle color (not dark and not light).
R + G + B =
77 + 82 + 157 = 316 (100%)
R 77 of 316 ~ 24.37%
G 82 of 316 ~ 25.95%
B 157 of 316 ~ 49.68%
#4D529D color CMYK value is (51,48,0,38).
CMYK: (51,48,0,38) C51M48Y0K38 (51%,48%,0%,38%) (0.51/0.48/0.00/0.38)
4D | 52 | 9D | |
---|---|---|---|
RGB | 77 | 82 | 157 |
HSL | 236° | 34.19% | 45.88% |
HSB/HSV | 236° | 50.96% | 61.57% |
CMYK | 50.96% | 47.77% | 0.00% |
38.43% |
HEX | 4D | 52 | 9D |
Decimal | 77 | 82 | 157 |
Binary | 1001101 | 1010010 | 10011101 |
Octal | 115 | 122 | 235 |
Examples of css and html codes for elements with #4D529D color. Also use rgb(77,82,157) instead hex code.
.myTextColor { color: #4D529D; }
<p style="color:#4D529D">This sample text font color is #4D529D.</p>
This text font color is #4D529D.
.myBgColor { background-color: #4D529D; }
<div style="background-color:#4D529D">Inner text</div>
This div background color is #4D529D.
.myBorderColor { border: 1px solid #4D529D; }
<div style="border:3px solid #4D529D">Div</div>
This div border color is #4D529D.
.myOpacity80 { color: #4D529D; opacity: 0.8; }
<p style="color:#4D529D;opacity:0.8;">80%</p>
Text with #4D529D color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D529D;}
<p style="text-shadow: 3px 3px 1px #4D529D">Text here.</p>
This text has shadow with #4D529D color.
.textShadow {text-shadow: 3px 3px 1px #4D529D, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D529D, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D529D primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D529D, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D529D, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D529D and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D529D; -webkit-box-shadow: 1px 1px 3px 2px #4D529D; box-shadow: 1px 1px 3px 2px #4D529D; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D529D; -webkit-box-shadow: 1px 1px 3px 2px #4D529D; box-shadow:1px 1px 3px 2px #4D529D;">
Div content here</div>
This text has color #4D529D on black background.
This text has color #4D529D on white background.
This text has black color on #4D529D background.
This text has white color on #4D529D background.