HEX: #4D256A
RGB: (77,37,106)
#4D256A contains mainly red and blue colors. Web safe color of #4D256A is #333366 (or #336).
#4D256A color RGB value is (77,37,106).
RGB: (77,37,106) (30%,15%,42%)
R 77 of 255 = 30%
G 37 of 255 = 15%
B 106 of 255 = 42%
R + G + B ~ 29%. #4D256A is quite dark color.
R + G + B =
77 + 37 + 106 = 220 (100%)
R 77 of 220 ~ 35%
G 37 of 220 ~ 16.82%
B 106 of 220 ~ 48.18%
#4D256A color CMYK value is (27,65,0,58).
CMYK: (27,65,0,58) C27M65Y0K58 (27%,65%,0%,58%) (0.27/0.65/0.00/0.58)
4D | 25 | 6A | |
---|---|---|---|
RGB | 77 | 37 | 106 |
HSL | 275° | 48.25% | 28.04% |
HSB/HSV | 275° | 65.09% | 41.57% |
CMYK | 27.36% | 65.09% | 0.00% |
58.43% |
HEX | 4D | 25 | 6A |
Decimal | 77 | 37 | 106 |
Binary | 1001101 | 100101 | 1101010 |
Octal | 115 | 45 | 152 |
Examples of css and html codes for elements with #4D256A color. Also use rgb(77,37,106) instead hex code.
.myTextColor { color: #4D256A; }
<p style="color:#4D256A">This sample text font color is #4D256A.</p>
This text font color is #4D256A.
.myBgColor { background-color: #4D256A; }
<div style="background-color:#4D256A">Inner text</div>
This div background color is #4D256A.
.myBorderColor { border: 1px solid #4D256A; }
<div style="border:3px solid #4D256A">Div</div>
This div border color is #4D256A.
.myOpacity80 { color: #4D256A; opacity: 0.8; }
<p style="color:#4D256A;opacity:0.8;">80%</p>
Text with #4D256A color and opacity 100% | 80% | 50% | 30%.
.textShadow {text-shadow: 3px 3px 1px #4D256A;}
<p style="text-shadow: 3px 3px 1px #4D256A">Text here.</p>
This text has shadow with #4D256A color.
.textShadow {text-shadow: 3px 3px 1px #4D256A, 3px 3px 1px red;}
<p style="text-shadow: 3px 3px 1px #4D256A, 5px 5px 20px red">Text here.</p>
This text has shadow with #4D256A primary color and red secondary color.
Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4D256A, Direction=45, Strength=4)}
<p style="filter: Shadow(Color=#4D256A, Direction=45, Strength=4)">Text</p>
This text has shadow with #4D256A and red colors in old Internet Explorer.
/* css code */ .divShadow { -moz-box-shadow: 1px 1px 3px 2px #4D256A; -webkit-box-shadow: 1px 1px 3px 2px #4D256A; box-shadow: 1px 1px 3px 2px #4D256A; } /* html code with inline style */ <div style="-moz-box-shadow: 1px 1px 3px 2px #4D256A; -webkit-box-shadow: 1px 1px 3px 2px #4D256A; box-shadow:1px 1px 3px 2px #4D256A;">
Div content here</div>
This text has color #4D256A on black background.
This text has color #4D256A on white background.
This text has black color on #4D256A background.
This text has white color on #4D256A background.