HEX: #4D729F
RGB: (77,114,159)
#4D729F contains mainly green and blue colors. Web safe color of #4D729F is #336699 (or #369).
#4D729F color RGB value is (77,114,159).
RGB: (77,114,159) (30%,45%,62%)
R 77 of 255 = 30%
G 114 of 255 = 45%
B 159 of 255 = 62%
R + G + B ~ 46%. #4D729F is middle color (not dark and not light).
R + G + B =
77 + 114 + 159 = 350 (100%)
R 77 of 350 ~ 22%
G 114 of 350 ~ 32.57%
B 159 of 350 ~ 45.43%
#4D729F color CMYK value is (52,28,0,38).
CMYK: (52,28,0,38) C52M28Y0K38 (52%,28%,0%,38%) (0.52/0.28/0.00/0.38)
4D | 72 | 9F | |
---|---|---|---|
RGB | 77 | 114 | 159 |
HSL | 213° | 34.75% | 46.27% |
HSB/HSV | 213° | 51.57% | 62.35% |
CMYK | 51.57% | 28.30% | 0.00% |
37.65% |
HEX | 4D | 72 | 9F |
Decimal | 77 | 114 | 159 |
Binary | 1001101 | 1110010 | 10011111 |
Octal | 115 | 162 | 237 |
Examples of css and html codes for elements with #4D729F color. Also use rgb(77,114,159) instead hex code.
.myTextColor { color: #4D729F; }
<p style="color:#4D729F">This sample text font color is #4D729F.</p>
This text font color is #4D729F.
.myBgColor { background-color: #4D729F; }
<div style="background-color:#4D729F">Inner text</div>
This div background color is #4D729F.
.myBorderColor { border: 1px solid #4D729F; }
<div style="border:3px solid #4D729F">Div</div>
This div border color is #4D729F.
.myOpacity80 { color: #4D729F; opacity: 0.8; }
<p style="color:#4D729F;opacity:0.8;">80%</p>
Text with #4D729F color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D729F;}
<p style="text-shadow: 3px 3px 1px #4D729F">Text here.</p>
This text has shadow with #4D729F color.
.textShadow {text-shadow: 3px 3px 1px #4D729F, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D729F, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D729F primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D729F, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D729F, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D729F and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D729F; -webkit-box-shadow: 1px 1px 3px 2px #4D729F; box-shadow: 1px 1px 3px 2px #4D729F; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D729F; -webkit-box-shadow: 1px 1px 3px 2px #4D729F; box-shadow:1px 1px 3px 2px #4D729F;">
Div content here</div>
This text has color #4D729F on black background.
This text has color #4D729F on white background.
This text has black color on #4D729F background.
This text has white color on #4D729F background.