HEX: #4D4861
RGB: (77,72,97)
#4D4861 contains red, green and blue colors in about the same proportion. Web safe color of #4D4861 is #333366 (or #336).
#4D4861 color RGB value is (77,72,97).
RGB: (77,72,97) (30%,28%,38%)
R 77 of 255 = 30%
G 72 of 255 = 28%
B 97 of 255 = 38%
R + G + B ~ 32%. #4D4861 is quite dark color.
R + G + B =
77 + 72 + 97 = 246 (100%)
R 77 of 246 ~ 31.3%
G 72 of 246 ~ 29.27%
B 97 of 246 ~ 39.43%
#4D4861 color CMYK value is (21,26,0,62).
CMYK: (21,26,0,62) C21M26Y0K62 (21%,26%,0%,62%) (0.21/0.26/0.00/0.62)
4D | 48 | 61 | |
---|---|---|---|
RGB | 77 | 72 | 97 |
HSL | 252° | 14.79% | 33.14% |
HSB/HSV | 252° | 25.77% | 38.04% |
CMYK | 20.62% | 25.77% | 0.00% |
61.96% |
HEX | 4D | 48 | 61 |
Decimal | 77 | 72 | 97 |
Binary | 1001101 | 1001000 | 1100001 |
Octal | 115 | 110 | 141 |
Examples of css and html codes for elements with #4D4861 color. Also use rgb(77,72,97) instead hex code.
.myTextColor { color: #4D4861; }
<p style="color:#4D4861">This sample text font color is #4D4861.</p>
This text font color is #4D4861.
.myBgColor { background-color: #4D4861; }
<div style="background-color:#4D4861">Inner text</div>
This div background color is #4D4861.
.myBorderColor { border: 1px solid #4D4861; }
<div style="border:3px solid #4D4861">Div</div>
This div border color is #4D4861.
.myOpacity80 { color: #4D4861; opacity: 0.8; }
<p style="color:#4D4861;opacity:0.8;">80%</p>
Text with #4D4861 color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D4861;}
<p style="text-shadow: 3px 3px 1px #4D4861">Text here.</p>
This text has shadow with #4D4861 color.
.textShadow {text-shadow: 3px 3px 1px #4D4861, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D4861, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D4861 primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D4861, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D4861, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D4861 and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D4861; -webkit-box-shadow: 1px 1px 3px 2px #4D4861; box-shadow: 1px 1px 3px 2px #4D4861; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D4861; -webkit-box-shadow: 1px 1px 3px 2px #4D4861; box-shadow:1px 1px 3px 2px #4D4861;">
Div content here</div>
This text has color #4D4861 on black background.
This text has color #4D4861 on white background.
This text has black color on #4D4861 background.
This text has white color on #4D4861 background.