HEX: #4D387B
RGB: (77,56,123)
#4D387B contains mainly red and blue colors. Web safe color of #4D387B is #333366 (or #336).
#4D387B color RGB value is (77,56,123).
RGB: (77,56,123) (30%,22%,48%)
R 77 of 255 = 30%
G 56 of 255 = 22%
B 123 of 255 = 48%
R + G + B ~ 33%. #4D387B is quite dark color.
R + G + B =
77 + 56 + 123 = 256 (100%)
R 77 of 256 ~ 30.08%
G 56 of 256 ~ 21.88%
B 123 of 256 ~ 48.05%
#4D387B color CMYK value is (37,54,0,52).
CMYK: (37,54,0,52) C37M54Y0K52 (37%,54%,0%,52%) (0.37/0.54/0.00/0.52)
4D | 38 | 7B | |
---|---|---|---|
RGB | 77 | 56 | 123 |
HSL | 259° | 37.43% | 35.10% |
HSB/HSV | 259° | 54.47% | 48.24% |
CMYK | 37.40% | 54.47% | 0.00% |
51.76% |
HEX | 4D | 38 | 7B |
Decimal | 77 | 56 | 123 |
Binary | 1001101 | 111000 | 1111011 |
Octal | 115 | 70 | 173 |
Examples of css and html codes for elements with #4D387B color. Also use rgb(77,56,123) instead hex code.
.myTextColor { color: #4D387B; }
<p style="color:#4D387B">This sample text font color is #4D387B.</p>
This text font color is #4D387B.
.myBgColor { background-color: #4D387B; }
<div style="background-color:#4D387B">Inner text</div>
This div background color is #4D387B.
.myBorderColor { border: 1px solid #4D387B; }
<div style="border:3px solid #4D387B">Div</div>
This div border color is #4D387B.
.myOpacity80 { color: #4D387B; opacity: 0.8; }
<p style="color:#4D387B;opacity:0.8;">80%</p>
Text with #4D387B color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D387B;}
<p style="text-shadow: 3px 3px 1px #4D387B">Text here.</p>
This text has shadow with #4D387B color.
.textShadow {text-shadow: 3px 3px 1px #4D387B, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D387B, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D387B primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D387B, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D387B, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D387B and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D387B; -webkit-box-shadow: 1px 1px 3px 2px #4D387B; box-shadow: 1px 1px 3px 2px #4D387B; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D387B; -webkit-box-shadow: 1px 1px 3px 2px #4D387B; box-shadow:1px 1px 3px 2px #4D387B;">
Div content here</div>
This text has color #4D387B on black background.
This text has color #4D387B on white background.
This text has black color on #4D387B background.
This text has white color on #4D387B background.